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

 ##########
 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:
   Yeah. I think we can highlight it in the PR title. Also, the original 
motivation of this PR is to resolve the long standing and confusing error 
messages issued by our parser. 

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