maryannxue commented on pull request #29593: URL: https://github.com/apache/spark/pull/29593#issuecomment-685174695
I think the problem is exactly the other way around, when doing this transform in `EnsureRequirements`, the tags on the final `Aggregate` are overridden by the those on the top `Exchange`, then its logical link has been wrongly changed to `Repartition`. So then in `replaceWithQueryStagesInLogicalPlan`, the stage didn't match the top agg successfully. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
