What will break if I do this

This commit is contained in:
Konstantin Bogdanov 2024-11-20 18:48:13 +01:00
parent f2a2941fa6
commit 93a3c1d27e
No known key found for this signature in database

View File

@ -125,7 +125,7 @@ void IStorageCluster::read(
storage_snapshot->check(column_names);
updateBeforeRead(context);
auto cluster = getCluster(context);
auto cluster = context->getCluster(cluster_name);
/// Calculate the header. This is significant, because some columns could be thrown away in some cases like query with count(*)