Skip to content

Fix missing condition in pushed down predicate.#29625

Merged
KochetovNicolai merged 1 commit intomasterfrom
fix-missing-condition-with-predicate-push-down
Oct 4, 2021
Merged

Fix missing condition in pushed down predicate.#29625
KochetovNicolai merged 1 commit intomasterfrom
fix-missing-condition-with-predicate-push-down

Conversation

@KochetovNicolai
Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Bug Fix (user-visible misbehaviour in official stable or prestable release)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Condition in filter predicate could be lost after push-down optimisation.

In added query, last condition x = 1 could be lost, cause it was traversed as a part of (x = 1 or x != 1) before.

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Oct 1, 2021
Copy link
Copy Markdown
Member Author

@KochetovNicolai KochetovNicolai left a comment

Choose a reason for hiding this comment

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

ok

@KochetovNicolai KochetovNicolai merged commit 122d39c into master Oct 4, 2021
@KochetovNicolai KochetovNicolai deleted the fix-missing-condition-with-predicate-push-down branch October 4, 2021 14:50
KochetovNicolai added a commit that referenced this pull request Oct 12, 2021
Backport #29625 to 21.7: Fix missing condition in pushed down predicate.
KochetovNicolai added a commit that referenced this pull request Oct 12, 2021
Backport #29625 to 21.8: Fix missing condition in pushed down predicate.
KochetovNicolai added a commit that referenced this pull request Oct 12, 2021
Backport #29625 to 21.9: Fix missing condition in pushed down predicate.
KochetovNicolai added a commit that referenced this pull request Oct 12, 2021
Backport #29625 to 21.10: Fix missing condition in pushed down predicate.
KochetovNicolai added a commit that referenced this pull request Oct 13, 2021
Backport #29625 to 21.3: Fix missing condition in pushed down predicate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants