Update MergeTreeDataSelectExecutor.cpp

This commit is contained in:
alexey-milovidov 2020-04-08 05:54:08 +03:00 committed by GitHub
parent cbdc3ef214
commit a6194364ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1204,7 +1204,7 @@ MarkRanges MergeTreeDataSelectExecutor::markRangesFromPKRange(
std::vector<MarkRange> ranges_stack = { {0, marks_count} };
std::function<void(size_t, size_t, FieldRef &)> create_field_ref;
/// If there is no monotonic functions, there is no need to save block reference.
/// If there are no monotonic functions, there is no need to save block reference.
/// Passing explicit field to FieldRef allows to optimize ranges and shows better performance.
if (key_condition.hasMonotonicFunctionsChain())
{