maropu commented on a change in pull request #25092: [SPARK-28312][SQL][TEST] 
Port numeric.sql
URL: https://github.com/apache/spark/pull/25092#discussion_r302319639
 
 

 ##########
 File path: sql/core/src/test/resources/sql-tests/inputs/pgSQL/numeric.sql
 ##########
 @@ -0,0 +1,1098 @@
+--
+-- Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
+--
+--
+-- NUMERIC
+-- 
https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/numeric.sql
+--
+-- This test suite contains eight Cartesian products without using explicit 
CROSS JOIN syntax.
+-- Thus, we set spark.sql.crossJoin.enabled to true.
+set spark.sql.crossJoin.enabled=true;
 
 Review comment:
   PostgreSQL accepts cartesian joins by default. So, if the other ported tests 
include these joins, I think better to move this option into 
`SQLQueryTestSuite` to accept them for these PostgreSQL tests?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to