mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Fix func
This commit is contained in:
parent
4badd0fd28
commit
7c2f4d121a
@ -43,7 +43,7 @@ try
|
||||
{
|
||||
ColumnWithTypeAndName column;
|
||||
column.name = "a";
|
||||
column.type = table->getColumns().get("a").type;
|
||||
column.type = table->getColumns().getPhysical("a").type;
|
||||
auto col = column.type->createColumn();
|
||||
ColumnUInt64::Container & vec = typeid_cast<ColumnUInt64 &>(*col).getData();
|
||||
|
||||
@ -58,7 +58,7 @@ try
|
||||
{
|
||||
ColumnWithTypeAndName column;
|
||||
column.name = "b";
|
||||
column.type = table->getColumns().get("b").type;
|
||||
column.type = table->getColumns().getPhysical("b").type;
|
||||
auto col = column.type->createColumn();
|
||||
ColumnUInt8::Container & vec = typeid_cast<ColumnUInt8 &>(*col).getData();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user