Skip to content

SQL: Remove useless boolean CASTs in filters.#5619

Merged
nishantmonu51 merged 1 commit intoapache:masterfrom
gianm:sql-useless-case
Apr 10, 2018
Merged

SQL: Remove useless boolean CASTs in filters.#5619
nishantmonu51 merged 1 commit intoapache:masterfrom
gianm:sql-useless-case

Conversation

@gianm
Copy link
Copy Markdown
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
Copy Markdown
Contributor

fjy commented Apr 10, 2018

👍

Copy link
Copy Markdown
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.

4 participants