rdblue opened a new pull request #24029: SPARK-27108: Add parsed SQL plans for 
create, CTAS.
URL: https://github.com/apache/spark/pull/24029
 
 
   ## What changes were proposed in this pull request?
   
   This moves parsing `CREATE TABLE ... USING` statements into catalyst. 
Catalyst produces logical plans with the parsed information and those plans are 
converted to v1 `DataSource` plans in `DataSourceAnalysis`.
   
   This prepares for adding v2 create plans that should receive the information 
parsed from SQL without being translated to v1 plans first.
   
   This also makes it possible to parse in catalyst instead of breaking the 
parser across the abstract `AstBuilder` in catalyst and `SparkSqlParser` in 
core.
   
   For more information, see the [mailing list 
thread](https://lists.apache.org/thread.html/54f4e1929ceb9a2b0cac7cb058000feb8de5d6c667b2e0950804c613@%3Cdev.spark.apache.org%3E).
   
   ## How was this patch tested?
   
   This uses existing tests to catch regressions. This introduces no behavior 
changes.

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