tedyu opened a new pull request #31613: URL: https://github.com/apache/spark/pull/31613
### What changes were proposed in this pull request? exprId is appended to each reference for ambiguousReferences. ### Why are the changes needed? In the current AnalysisException for ambiguousReferences, the strings of references may look the same. ``` org.apache.spark.sql.AnalysisException: Reference 'phone->'key'->1->'m'->2->>'b'' is ambiguous, could be: mycatalog.test.person.phone->'key'->1->'m'->2->>'b', mycatalog.test.person.phone->'key'->1->'m'->2->>'b'.; line 1 pos 8 ``` ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Verified via local build where exprId is observed. ---------------------------------------------------------------- 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]
