mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
Merge pull request #6040 from yandex/fix-desc-table
Do not show virtual columns in DESCRIBE TABLE
This commit is contained in:
commit
cbca99ca01
@ -101,6 +101,9 @@ BlockInputStreamPtr InterpreterDescribeQuery::executeImpl()
|
|||||||
|
|
||||||
for (const auto & column : columns)
|
for (const auto & column : columns)
|
||||||
{
|
{
|
||||||
|
if (column.is_virtual)
|
||||||
|
continue;
|
||||||
|
|
||||||
res_columns[0]->insert(column.name);
|
res_columns[0]->insert(column.name);
|
||||||
res_columns[1]->insert(column.type->getName());
|
res_columns[1]->insert(column.type->getName());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user