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

Fix query failure due to unused dynamic filters #18385

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

raunaqmorarka
Copy link
Member

@raunaqmorarka raunaqmorarka commented Jul 24, 2023

Description

Currently PushPredicateIntoTableScan/RemoveRedundantPredicateAboveTableScan runs after RemoveUnsupportedDynamicFilters may replace a table scan with dynamic filter with an empty ValuesNode.
This leaves behind unused dynamic filters in the join in FTE mode which cause query failure in
plan validation at DynamicFiltersChecker.

Additional context and related issues

Fixes #18383

Release notes

( ) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
(x) Release notes are required, with the following suggested text:

# General
* Fix query planning failure due to dynamic filters in fault tolerant execution mode. ({issue}`18383`)

@cla-bot cla-bot bot added the cla-signed label Jul 24, 2023
@raunaqmorarka raunaqmorarka requested review from sopel39, losipiuk, findepi, arhimondr and martint and removed request for losipiuk July 24, 2023 09:45
@raunaqmorarka raunaqmorarka merged commit a22015d into trinodb:master Jul 25, 2023
@raunaqmorarka raunaqmorarka deleted the issue18383 branch July 25, 2023 13:17
@github-actions github-actions bot added this to the 423 milestone Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

FTE query failure due to "Dynamic filters present in join were not fully consumed by it's probe side"
2 participants