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

Push aggregation and filter into connector #4919

Merged
merged 2 commits into from
Aug 21, 2020

Conversation

findepi
Copy link
Member

@findepi findepi commented Aug 21, 2020

Fixes #4111

In case of:

    Aggregation sum(x) GROUP BY y
    - Filter z = ...
      - TableScan

There is actually also a Project above Filter, pruning symbol `z`.
To effect aggregation pushdown we also need to remove this projection.
@findepi findepi added the enhancement New feature or request label Aug 21, 2020
@cla-bot cla-bot bot added the cla-signed label Aug 21, 2020
@findepi findepi requested a review from losipiuk August 21, 2020 14:19
@findepi findepi merged commit 1e69a5b into trinodb:master Aug 21, 2020
@findepi findepi deleted the fix-agg-where branch August 21, 2020 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

Eliminate pushed down filters in JDBC connectors
2 participants