Update VirtualColumnUtils.cpp

This commit is contained in:
Kruglov Pavel 2023-08-21 14:22:48 +02:00 committed by GitHub
parent 21413636ac
commit 9869196021
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -330,13 +330,9 @@ ColumnPtr getFilterByPathAndFileIndexes(const std::vector<String> & paths, const
block.insert({ColumnUInt64::create(), std::make_shared<DataTypeUInt64>(), "_idx"});
for (size_t i = 0; i != paths.size(); ++i)
{
std::cerr << "Add path " << paths[i] << "\n";
addPathAndFileToVirtualColumns(block, paths[i], i);
}
filterBlockWithQuery(query, block, context, filter_ast);
std::cerr << "Done filter\n";
return block.getByName("_idx").column;
}