dongjoon-hyun commented on PR #60197: URL: https://github.com/apache/spark/pull/60197#issuecomment-6710696721
Thank you, @peter-toth. You're right about (1). I updated `newInstance` to keep each output attribute and swap only its exprId, like SPARK-54718 did for `CTERelationRef.newInstance`, and added a `columns` check to the test. For (4), the test checkpoint now captures an ordering via `sortWithinPartitions`, and the test asserts that the renewed copy's ordering refers only to its own output. Only the checkpoint creation runs with AQE disabled now, and the aggregate check still fails without the partitioning fix. For (2) and (3), I confirmed that both reproduce on the base as well. Since they are in the checkpoint creation path (`fromDataset` and the `buildOutputAssocForRewrite` helpers) and are triggered without a self-join, including the recursive CTE case, I'll file a new JIRA issue and handle them there to keep this PR focused on `newInstance`. -- 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]
