cloud-fan commented on code in PR #53625:
URL: https://github.com/apache/spark/pull/53625#discussion_r2652124908
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala:
##########
@@ -67,10 +67,14 @@ class QueryExecution(
val tracker: QueryPlanningTracker = new QueryPlanningTracker,
val mode: CommandExecutionMode.Value = CommandExecutionMode.ALL,
val shuffleCleanupMode: ShuffleCleanupMode = DoNotCleanup,
- val refreshPhaseEnabled: Boolean = true) extends Logging {
+ val refreshPhaseEnabled: Boolean = true,
+ val queryId: UUID = UUIDv7Generator.generate()) extends Logging {
Review Comment:
I like `queryId` more. We may include `queryId` in analyzer/optimizer logs
as well, we shouldn't limit it to executions.
repeated df execution is a rare case and won't happen with Spark Connect, we
can let it go and use `queryId` for this execution-only thing.
--
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]