mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
Try fix test
This commit is contained in:
parent
86dfa807c2
commit
9fa8133a1f
@ -324,7 +324,10 @@ BlockInputStreams StorageDistributed::read(
|
||||
|
||||
auto query_for_header = query_info.query;
|
||||
if (has_shard_num_column)
|
||||
{
|
||||
query_for_header = query_for_header->clone();
|
||||
VirtualColumnUtils::rewriteEntityInAst(query_for_header, "_shard_num", 0, "toUInt32");
|
||||
}
|
||||
|
||||
Block header =
|
||||
InterpreterSelectQuery(query_for_header, context, SelectQueryOptions(processed_stage)).getSampleBlock();
|
||||
|
Loading…
Reference in New Issue
Block a user