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

rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996 #3930

Merged
merged 4 commits into from
Dec 27, 2018

Conversation

4ertus2
Copy link
Contributor

@4ertus2 4ertus2 commented Dec 26, 2018

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Category (leave one):

  • Improvement (invisible for users)

Short description (up to few sentences):
Better way to collect columns, tables and joins from AST when checking required columns.

Detailed description (optional):
RequiredSourceColumnsVisitor form ColumnNamesContext from AST (without knowledge about sources). ExpressionAnalyzer uses ColumnNamesContext to filter unneeded columns.

@alexey-milovidov alexey-milovidov merged commit 644e9fc into ClickHouse:master Dec 27, 2018
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.

3 participants