Skip to content

[CALCITE-4562] Improve simplification of "expression IS TRUE" - #2386

Closed
alex-plekhanov wants to merge 1 commit into
apache:masterfrom
alex-plekhanov:calcite-4562
Closed

[CALCITE-4562] Improve simplification of "expression IS TRUE"#2386
alex-plekhanov wants to merge 1 commit into
apache:masterfrom
alex-plekhanov:calcite-4562

Conversation

@alex-plekhanov

Copy link
Copy Markdown
Contributor

Add pass of "unknown as" context to simplifyLike.

Add recursive call to simplifyNot in case when underlying expression is
simplified (to cover cases like "NOT (x LIKE '%')" with "unknown as
TRUE" context).

Add "unknown as" context specification for IS_FALSE and IS_NOT_TRUE
expressions.

Add pass of "unknown as" context to simplifyLike.

Add recursive call to simplifyNot in case when underlying expression is
simplified (to cover cases like "NOT (x LIKE '%')" with "unknown as
TRUE" context).

Add "unknown as" context specification for IS_FALSE and IS_NOT_TRUE
expressions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant