cloud-fan commented on code in PR #48830: URL: https://github.com/apache/spark/pull/48830#discussion_r1858667585
########## sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/WriteToDataSourceV2Exec.scala: ########## @@ -148,6 +150,8 @@ case class ReplaceTableAsSelectExec( val properties = CatalogV2Util.convertTableProperties(tableSpec) + override val metrics: Map[String, SQLMetric] = commitMetrics(catalog) Review Comment: OK this probably doesn't matter, as we return `Map.empty` if the catalog is not staged. Then maybe we can move this to `V2CreateTableAsSelectBaseExec` -- 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]
