cloud-fan commented on code in PR #40734:
URL: https://github.com/apache/spark/pull/40734#discussion_r1163847757
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/v2Commands.scala:
##########
@@ -389,6 +389,46 @@ case class WriteDelta(
}
}
+trait V2CreateTableAsSelectPlan extends Command with V2CreateTablePlan with
KeepAnalyzedQuery {
Review Comment:
Actually, we can remove `KeepAnalyzedQuery` now. The reason I added
`KeepAnalyzedQuery` is because for CTAS/RTAS, we can only know if v1 fallback
is needed or not at execution time when the table is created. But this problem
goes away after this PR.
--
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]