Skip to content

Push disjuncts with conjuncts into PostgreSQL#12079

Merged
findepi merged 2 commits intotrinodb:masterfrom
findepi:findepi/push-disjuncts-with-conjuncts-into-postgresql-096377
Apr 22, 2022
Merged

Push disjuncts with conjuncts into PostgreSQL#12079
findepi merged 2 commits intotrinodb:masterfrom
findepi:findepi/push-disjuncts-with-conjuncts-into-postgresql-096377

Conversation

@findepi
Copy link
Member

@findepi findepi commented Apr 21, 2022

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
verify(argument.getType() == BOOLEAN, "Unexpected type of OR argument: %s", argument.getType());
verify(argument.getType() == BOOLEAN, "Unexpected type of %s argument: %s", operator, argument.getType());

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch, thanks

Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of a class we could have a factory method on RewriteLogicalExpression

Copy link
Member Author

Choose a reason for hiding this comment

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

i made RewriteLogicalExpression an impl detail of these classes (hence it's package private)

Copy link
Contributor

@wendigo wendigo left a comment

Choose a reason for hiding this comment

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

LGTM % comments

@findepi findepi force-pushed the findepi/push-disjuncts-with-conjuncts-into-postgresql-096377 branch from 0436841 to 2f7b12c Compare April 21, 2022 13:17
@findepi findepi merged commit 0dc5477 into trinodb:master Apr 22, 2022
@findepi findepi deleted the findepi/push-disjuncts-with-conjuncts-into-postgresql-096377 branch April 22, 2022 09:56
@findepi findepi added the no-release-notes This pull request does not require release notes entry label Apr 22, 2022
@github-actions github-actions bot added this to the 379 milestone Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

3 participants