hive icon indicating copy to clipboard operation
hive copied to clipboard

HIVE-28321 Support select alias in the having clause for CBO

Open ramesh0201 opened this issue 1 year ago • 1 comments

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

ramesh0201 avatar Jun 12 '24 22:06 ramesh0201

Thank you @soumyakanti3578 and @zabetak for the review

ramesh0201 avatar Jul 30 '24 18:07 ramesh0201