AngersZhuuuu opened a new pull request #34252: URL: https://github.com/apache/spark/pull/34252
### What changes were proposed in this pull request? For current SQL grammar ``` INSERT INTO t_delta (WITH v1(c1) as (values (1)) select 1, 2,3 from v1); OK INSERT INTO t_delta WITH v1(c1) as (values (1)) select 1, 2,3 from v1; FAILED ``` It's caused by ``` insertInto query queryOrganization ``` Here change to ``` insert query ``` can support CTE after insert ### Why are the changes needed? Support CTE after insert query ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? Added UT -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
