wangyum opened a new pull request #25109: [SPARK-28343][SQL][TEST] PostgreSQL 
test should enable cartesian product
URL: https://github.com/apache/spark/pull/25109
 
 
   ## What changes were proposed in this pull request?
   
   This pr enables cartesian product for PostgreSQL test.
   
   ## How was this patch tested?
   
   manual tests:
   Run `test.sql` in 
[pgSQL](https://github.com/apache/spark/tree/master/sql/core/src/test/resources/sql-tests/inputs/pgSQL)
 directory and in 
[inputs](https://github.com/apache/spark/tree/master/sql/core/src/test/resources/sql-tests/inputs)
 directory:
   ```sql
   cat <<EOF > test.sql
   create or replace temporary view t1 as
   select * from (values(1), (2)) as v (val);
   
   create or replace temporary view t2 as
   select * from (values(2), (1)) as v (val);
   
   select t1.*, t2.* from t1 join t2;
   EOF
   ```
   
   

----------------------------------------------------------------
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