wangyum commented on issue #25109: [SPARK-28343][SQL][TEST] PostgreSQL test 
should enable cartesian product
URL: https://github.com/apache/spark/pull/25109#issuecomment-510341125
 
 
   @maropu I didn't enable `spark.sql.parser.ansi.enabled` because:
   ```sql
   spark-sql> set spark.sql.parser.ansi.enabled=true;
   spark.sql.parser.ansi.enabled        true
   spark-sql> select 1 as false;
   Error in query:
   no viable alternative at input 'false'(line 1, pos 12)
   
   == SQL ==
   select 1 as false
   ------------^^^
   
   spark-sql> select 1 as minus;
   Error in query:
   no viable alternative at input 'minus'(line 1, pos 12)
   
   == SQL ==
   select 1 as minus
   ------------^^^
   ```
   
   Is this we expected?

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