hive
hive copied to clipboard
HIVE-28321 Support select alias in the having clause for CBO
What changes were proposed in this pull request?
Having clause CBO path of the queries should have visibility from the alias of the select expressions, as this is the case in the non-CBO path.
Why are the changes needed?
In order to make the CBO path and non-CBO work the same way in terms of syntax and semantics of having clause
Does this PR introduce any user-facing change?
No
Is the change a dependency upgrade?
No
How was this patch tested?
Unit tests. Specifically mvn test -Dtest=TestMiniLlapLocalCliDriver -Dqfile=limit_pushdown_negative.q
Quality Gate passed
Issues
7 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Thank you @soumyakanti3578 and @zabetak for the review