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

ISSUES-2850 add dependencies for system tables #2851

Conversation

zhang2014
Copy link
Contributor

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


dependencies_name_array.reserve(dependencies.size());
for (const auto & dependency : dependencies)
dependencies_name_array.push_back(dependency.first + "." + dependency.second);
Copy link
Member

Choose a reason for hiding this comment

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

Names are unquoted.
Concatenation leads to unstructured data.
Better to have two columns: dependencies_database, dependencies_table:
(arrays of identical sizes).

@zhang2014 zhang2014 force-pushed the feature/add_dependies_for_system_tables branch 2 times, most recently from 9ecd5c3 to edd7af0 Compare August 12, 2018 06:54
@zhang2014 zhang2014 force-pushed the feature/add_dependies_for_system_tables branch from edd7af0 to d766d4b Compare August 12, 2018 08:05
@alexey-milovidov alexey-milovidov merged commit 6114dfb into ClickHouse:master Aug 13, 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.

2 participants