peter-toth commented on code in PR #45552:
URL: https://github.com/apache/spark/pull/45552#discussion_r1528050496
##########
sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala:
##########
@@ -227,6 +227,11 @@ class Dataset[T] private[sql](
dsIds.add(id)
plan.setTagValue(Dataset.DATASET_ID_TAG, dsIds)
}
+ // A plan might get its PLAN_ID_TAG via connect or belong to multiple
dataframes so only assign
+ // an id to a plan if it doesn't have any
+ if (plan.getTagValue(LogicalPlan.PLAN_ID_TAG).isEmpty) {
Review Comment:
Yes, that idea came up here:
https://github.com/apache/spark/pull/45446#discussion_r1520922028
--
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]