diff --git a/src/Storages/tests/storage_log.cpp b/src/Storages/tests/storage_log.cpp index 58f656ede64..1e1ab4c682f 100644 --- a/src/Storages/tests/storage_log.cpp +++ b/src/Storages/tests/storage_log.cpp @@ -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(*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(*col).getData();