diff options
author | Hor911 <hor911@ydb.tech> | 2025-03-14 15:37:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-14 15:37:11 +0300 |
commit | d708ccea33145d4a518c28ceccc482409ba1c5d7 (patch) | |
tree | b630ac185ef8201be8084fadf4fba79b1b102612 | |
parent | 0a97f4cb25aaf11d7d4c67e36ffd89d53a020095 (diff) | |
download | ydb-d708ccea33145d4a518c28ceccc482409ba1c5d7.tar.gz |
Fix for min/max typos after SIMD-friendly copy-n-paste (#15723)
-rw-r--r-- | ydb/core/kqp/executer_actor/kqp_executer_stats.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ydb/core/kqp/executer_actor/kqp_executer_stats.cpp b/ydb/core/kqp/executer_actor/kqp_executer_stats.cpp index 3cf3dfbf60..fe71ff13b0 100644 --- a/ydb/core/kqp/executer_actor/kqp_executer_stats.cpp +++ b/ydb/core/kqp/executer_actor/kqp_executer_stats.cpp @@ -1092,9 +1092,9 @@ void ExportAggStats(std::vector<ui64>& data, NYql::NDqProto::TDqStatsMinMax& sta min4[2] = min4[2] ? (it[2] ? (min4[2] < it[2] ? min4[2] : it[2]) : min4[2]) : it[2]; min4[3] = min4[3] ? (it[3] ? (min4[3] < it[3] ? min4[3] : it[3]) : min4[3]) : it[3]; max4[0] = max4[0] > it[0] ? max4[0] : it[0]; - min4[1] = max4[1] > it[1] ? max4[1] : it[1]; - min4[2] = max4[2] > it[2] ? min4[2] : it[2]; - min4[3] = max4[3] > it[3] ? min4[3] : it[3]; + max4[1] = max4[1] > it[1] ? max4[1] : it[1]; + max4[2] = max4[2] > it[2] ? max4[2] : it[2]; + max4[3] = max4[3] > it[3] ? max4[3] : it[3]; } if (count) { @@ -1135,9 +1135,9 @@ void ExportOffsetAggStats(std::vector<ui64>& data, NYql::NDqProto::TDqStatsAggr& min4[2] = min4[2] ? (it[2] ? (min4[2] < it[2] ? min4[2] : it[2]) : min4[2]) : it[2]; min4[3] = min4[3] ? (it[3] ? (min4[3] < it[3] ? min4[3] : it[3]) : min4[3]) : it[3]; max4[0] = max4[0] > it[0] ? max4[0] : it[0]; - min4[1] = max4[1] > it[1] ? max4[1] : it[1]; - min4[2] = max4[2] > it[2] ? min4[2] : it[2]; - min4[3] = max4[3] > it[3] ? min4[3] : it[3]; + max4[1] = max4[1] > it[1] ? max4[1] : it[1]; + max4[2] = max4[2] > it[2] ? max4[2] : it[2]; + max4[3] = max4[3] > it[3] ? max4[3] : it[3]; } if (count) { @@ -1175,9 +1175,9 @@ void ExportAggStats(std::vector<ui64>& data, NYql::NDqProto::TDqStatsAggr& stats min4[2] = min4[2] ? (it[2] ? (min4[2] < it[2] ? min4[2] : it[2]) : min4[2]) : it[2]; min4[3] = min4[3] ? (it[3] ? (min4[3] < it[3] ? min4[3] : it[3]) : min4[3]) : it[3]; max4[0] = max4[0] > it[0] ? max4[0] : it[0]; - min4[1] = max4[1] > it[1] ? max4[1] : it[1]; - min4[2] = max4[2] > it[2] ? min4[2] : it[2]; - min4[3] = max4[3] > it[3] ? min4[3] : it[3]; + max4[1] = max4[1] > it[1] ? max4[1] : it[1]; + max4[2] = max4[2] > it[2] ? max4[2] : it[2]; + max4[3] = max4[3] > it[3] ? max4[3] : it[3]; } if (count) { |