zhengruifeng opened a new pull request, #44462: URL: https://github.com/apache/spark/pull/44462
### What changes were proposed in this pull request? make following helper functions keep the plan id in transformation: - `resolveOperatorsUpWithPruning` - `resolveOperatorsDownWithPruning` - `resolveOperatorsUpWithNewOutput` ### Why are the changes needed? we had make following rules keep the plan id: 1, `ResolveNaturalAndUsingJoin` in https://github.com/apache/spark/commit/167bbca49c1c12ccd349d4330862c136b38d4522 2, `ExtractWindowExpressions` in https://github.com/apache/spark/commit/185a0a5a23958676e4236eaf9e4d78cdfd2dd2d7 3, `WidenSetOperationTypes` in https://github.com/apache/spark/commit/17c206fb71d03aefa75ecb87ca82772980dab954 4, `ResolvePivot` in https://github.com/apache/spark/commit/1a89bdc60d55394a1a9d94d4fa69fa5ab8041671 5, `CTESubstitution` in https://github.com/apache/spark/commit/79d1cded8555c5a0cc97b76747753785477eab8f But plan id missing issue still keep popping up, so this PR attempt to cover more cases by fixing the helper functions to build the rule ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? ut revert previous changes in the rules ### Was this patch authored or co-authored using generative AI tooling? no -- 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]
