Update StorageDistributed.cpp

This commit is contained in:
Alexander Kuzmenkov 2021-05-19 16:14:33 +03:00 committed by GitHub
parent a44ddd2064
commit 09cb467812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -281,7 +281,9 @@ void replaceConstantExpressions(
visitor.visit(node);
}
/// Returns one of the following:
/// This is the implementation of optimize_distributed_group_by_sharding_key.
/// It returns up to which stage the query can be processed on a shard, which
/// is one of the following:
/// - QueryProcessingStage::Complete
/// - QueryProcessingStage::WithMergeableStateAfterAggregation
/// - none (in this case regular WithMergeableState should be used)