FRemove unneded changes

This commit is contained in:
avogar 2023-08-18 14:50:07 +00:00
parent 0da8fe2793
commit 2d4167c612

View File

@ -965,13 +965,13 @@ public:
{ {
if (virtual_column.name == "_path") if (virtual_column.name == "_path")
{ {
chunk.addColumn(virtual_column.type->createColumnConst(num_rows, current_path)); chunk.addColumn(virtual_column.type->createColumnConst(num_rows, current_path)->convertToFullColumnIfConst());
} }
else if (virtual_column.name == "_file") else if (virtual_column.name == "_file")
{ {
size_t last_slash_pos = current_path.find_last_of('/'); size_t last_slash_pos = current_path.find_last_of('/');
auto file_name = current_path.substr(last_slash_pos + 1); auto file_name = current_path.substr(last_slash_pos + 1);
chunk.addColumn(virtual_column.type->createColumnConst(num_rows, file_name)); chunk.addColumn(virtual_column.type->createColumnConst(num_rows, file_name)->convertToFullColumnIfConst());
} }
} }