mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
Comment change
This commit is contained in:
parent
e50aebb5f0
commit
635a566bec
@ -95,8 +95,7 @@ void DistinctStep::transformPipeline(QueryPipelineBuilder & pipeline, const Buil
|
||||
if (!distinct_sort_desc.empty())
|
||||
{
|
||||
const bool sorted_stream = input_stream.sort_mode == DataStream::SortMode::Stream;
|
||||
/// pre-distinct for sorted chunks or
|
||||
/// final distinct for sorted stream (sorting inside and among chunks)
|
||||
/// pre-distinct for sorted chunks or final distinct for sorted stream (sorting inside and among chunks)
|
||||
if (pre_distinct || sorted_stream)
|
||||
{
|
||||
pipeline.addSimpleTransform(
|
||||
|
Loading…
Reference in New Issue
Block a user