Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-14004][SQL][MINOR] AttributeReference and Alias should only us…
…e the first qualifier to generate SQL strings ## What changes were proposed in this pull request? Current implementations of `AttributeReference.sql` and `Alias.sql` joins all available qualifiers, which is logically wrong. But this implementation mistake doesn't cause any real SQL generation bugs though, since there is always at most one qualifier for any given `AttributeReference` or `Alias`. This PR fixes this issue by only picking the first qualifiers. ## How was this patch tested? (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests) Existing tests should be enough. Author: Cheng Lian <[email protected]> Closes apache#11820 from liancheng/spark-14004-single-qualifier.
- Loading branch information