This commit is contained in:
alesapin 2020-04-27 20:48:53 +03:00
parent 4badd0fd28
commit 7c2f4d121a

View File

@ -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();