Vivek1106-04 commented on PR #58046:
URL: https://github.com/apache/spark/pull/58046#issuecomment-6890509844

   Thanks for checking this from another angle. I added all three: the 
alias-shadow case and the swapped-alias case as plan tests in 
`ReplaceOperatorSuite`, and the correlated shape in 
`DataFrameSetOperationsSuite`. All three fail on master and pass with this 
change. For the plan test I renamed the right alias to `c` to keep the expected 
plan unambiguous; the bug only needs the left alias to reuse the base column's 
name. I'll add a before/after plan to the description and update the JIRA 
affected versions.
   


-- 
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]

Reply via email to