Merge pull request #28319 from kssenii/rename

Rename system.views columns
This commit is contained in:
Kseniia Sumarokova 2021-08-30 11:19:30 +03:00 committed by GitHub
commit 15bdcdfc76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,9 +22,9 @@ NamesAndTypesList StorageSystemViews::getNamesAndTypes()
return {
{"database", std::make_shared<DataTypeString>()},
{"name", std::make_shared<DataTypeString>()},
{"table_database", std::make_shared<DataTypeString>()},
{"table", std::make_shared<DataTypeString>()},
{"type", std::move(view_type_datatype)},
{"main_dependency_database", std::make_shared<DataTypeString>()},
{"main_dependency_table", std::make_shared<DataTypeString>()},
{"view_type", std::move(view_type_datatype)},
};
}