Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HIVE-28314: Support literals as filter expression with non-boolean re… #5291

Closed
wants to merge 7 commits into from

Conversation

soumyakanti3578
Copy link
Contributor

…turn type

What changes were proposed in this pull request?

Cast literals of filter expression with boolean for queries like select * from t1 where 'foo', so that they can be compiled with CBO.

Why are the changes needed?

Refer to https://issues.apache.org/jira/browse/HIVE-27831

Does this PR introduce any user-facing change?

No

Is the change a dependency upgrade?

No

How was this patch tested?

mvn test -pl itests/qtest -Pitests -Dtest=TestMiniLlapLocalCliDriver -Dtest.output.overwrite=true -Dqfile="annotate_stats_filter.q"
mvn test -pl itests/qtest-iceberg -Piceberg -Pitests -Dtest=TestIcebergLlapLocalCliDriver -Dqfile=delete_iceberg_mixed.q

Copy link

sonarcloud bot commented Jul 11, 2024

Copy link
Contributor

@zabetak zabetak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, will merge soon!

@zabetak zabetak closed this in b18d573 Jul 17, 2024
mr3project pushed a commit to mr3project/hive-mr3 that referenced this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants