FreakingMind commented on code in PR #7661: URL: https://github.com/apache/datafusion-comet/pull/7661#discussion_r4646096784
########## dev/diffs/3.5.9.diff: ########## @@ -256,6 +256,20 @@ index fac23b4a26f..2b73732c33f 100644 -- -- INT8 -- Test int8 64-bit integers. +diff --git a/sql/core/src/test/resources/sql-tests/inputs/postgreSQL/numeric.sql b/sql/core/src/test/resources/sql-tests/inputs/postgreSQL/numeric.sql +index cbc9c2a26f6..e690156a325 100644 +--- a/sql/core/src/test/resources/sql-tests/inputs/postgreSQL/numeric.sql ++++ b/sql/core/src/test/resources/sql-tests/inputs/postgreSQL/numeric.sql +@@ -6,6 +6,9 @@ + -- https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/numeric.sql + -- + ++-- TODO: https://github.com/apache/datafusion-comet/issues/6797 ++--SET spark.comet.enabled = false Review Comment: Thanks, the narrower switch works. All four diffs now use `--SET spark.comet.expression.CheckOverflowInTableInsert.enabled = false` (95049e34a). I ran `SQLQueryTestSuite -z postgreSQL/numeric.sql` against Spark 4.1.3 locally. It passes with that line, and without it the file fails only at the `POWER(10, LN(value))` check (`…440` vs `…470`), so the `--SET` takes effect and the rest of the file runs in Comet again. Two more changes while I was at it. A cast that the operator shares, as in `SELECT c, c`, is now sent without the wrapper, so Comet reports `CAST_OVERFLOW` like Spark (12cf92001). The tests now also cover array elements and map keys and values. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
