fix crash

This commit is contained in:
Yarik Briukhovetskyi 2024-09-13 20:43:51 +02:00 committed by GitHub
parent ad31d86a15
commit 0d1d750437
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -285,7 +285,7 @@ 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)
for (size_t i = 0; i != partitioning_columns.size(); ++i)
addFilterDataToVirtualColumns(block, paths[i], i, partitioning_columns[i], context);
filterBlockWithExpression(actions, block);