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

SQL: Remove useless boolean CASTs in filters. #5619

Merged
merged 1 commit into from
Apr 10, 2018

Conversation

gianm
Copy link
Contributor

@gianm gianm commented Apr 10, 2018

Calcite sometimes leaves errant, useless cast-to-booleans inside filters. If we see one, strip it and continue. Fixes #5571, since it turned out this was the root cause (see the unit test).

@fjy fjy added this to the 0.13.0 milestone Apr 10, 2018
@fjy
Copy link
Contributor

fjy commented Apr 10, 2018

👍

Copy link
Member

@nishantmonu51 nishantmonu51 left a comment

Choose a reason for hiding this comment

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

👍 after travis

@nishantmonu51 nishantmonu51 merged commit ff27c54 into apache:master Apr 10, 2018
gianm added a commit to implydata/druid-public that referenced this pull request Apr 10, 2018
sathishsri88 pushed a commit to sathishs/druid that referenced this pull request May 8, 2018
gianm added a commit to gianm/druid that referenced this pull request Aug 26, 2018
@jon-wei jon-wei modified the milestones: 0.13.0, 0.12.3 Sep 1, 2018
@gianm gianm deleted the sql-useless-case branch November 18, 2018 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants