dongjoon-hyun commented on a change in pull request #24809: [SPARK-21136][SQL] 
Fix confusing parsing error due to problematic antlr grammer for Hive-style 
single-from statements
URL: https://github.com/apache/spark/pull/24809#discussion_r291383774
 
 

 ##########
 File path: docs/sql-migration-guide-upgrade.md
 ##########
 @@ -23,6 +23,7 @@ license: |
 {:toc}
 
 ## Upgrading From Spark SQL 2.4 to 3.0
+  - In Spark version 2.4 and earlier, SQL queries such as `FROM test` or `FROM 
test UNION ALL FROM test` are supported by accident. In hive-style `FROM test 
SELECT *`, the `SELECT` clause is not negligible. Therefore we will treat these 
queries as invalid since Spark 3.0.
 
 Review comment:
   Actually, this is bigger than the error message changing because the old 
existing customer queries will not work.
   How about making this as a PR title? Something like `Disallow FROM-only SQL 
statement`.
   
   How do you think about this,  @gatorsmile ?

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