Skip to content

Rename column names in local distributed_product_mode - #9891

Merged
4ertus2 merged 7 commits into
ClickHouse:masterfrom
4ertus2:bugs
Mar 27, 2020
Merged

4ertus2 merged 7 commits into
ClickHouse:masterfrom
4ertus2:bugs

Conversation

@4ertus2

@4ertus2 4ertus2 commented Mar 26, 2020 •

Copy link
Copy Markdown
Contributor

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

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix error with qualified names in distributed_product_mode='local'. Fixes #4756

Detailed description / Documentation draft:
In local mode we rename distributed tables names with shard table names in distributed subqueries (IN and JOIN). We have to rename columns too. Previous versions allowes to use short table names or names qualifies by distributed table alias. For now it's possible to use qualified columns with table name and database and table name.

@alexey-milovidov alexey-milovidov added the pr-bugfix Pull request with bugfix, not backported by default label Mar 26, 2020
@4ertus2
4ertus2 merged commit b1bd11f into ClickHouse:master Mar 27, 2020
akuzm pushed a commit that referenced this pull request Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-docs-needed pr-bugfix Pull request with bugfix, not backported by default pr-no-backport

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect field reference in distributed query with distributed_product_mode=local

4 participants