cloud-fan commented on code in PR #53143:
URL: https://github.com/apache/spark/pull/53143#discussion_r2578133639
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/WriteToDataSourceV2Exec.scala:
##########
@@ -764,15 +765,16 @@ private[v2] trait V2CreateTableAsSelectBaseExec extends
LeafV2CommandExec {
writeOptions: Map[String, String],
ident: Identifier,
query: LogicalPlan,
- overwrite: Boolean): Seq[InternalRow] = {
+ overwrite: Boolean,
+ refreshPhaseEnabled: Boolean = true): Seq[InternalRow] = {
Review Comment:
should it always be false? This is a nested query execution for certain DML
commands and the main query execution of the command should have refreshed the
table version already.
--
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]