Skip to content

Commit

Permalink
Merge 5de4b95 into 4d45fe1
Browse files Browse the repository at this point in the history
  • Loading branch information
nikvas0 authored Nov 7, 2024
2 parents 4d45fe1 + 5de4b95 commit ba1f3d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ydb/core/kqp/executer_actor/kqp_executer_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -993,8 +993,7 @@ class TKqpExecuterBase : public TActorBootstrapped<TDerived> {
std::sort(std::begin(shardsRanges), std::end(shardsRanges), [&](const TShardRangesWithShardId& lhs, const TShardRangesWithShardId& rhs) {
// Special case for infinity
if (lhs.Ranges->GetRightBorder().first->GetCells().empty() || rhs.Ranges->GetRightBorder().first->GetCells().empty()) {
YQL_ENSURE(!lhs.Ranges->GetRightBorder().first->GetCells().empty() || !rhs.Ranges->GetRightBorder().first->GetCells().empty());
return rhs.Ranges->GetRightBorder().first->GetCells().empty();
return !lhs.Ranges->GetRightBorder().first->GetCells().empty();
}
return CompareTypedCellVectors(
lhs.Ranges->GetRightBorder().first->GetCells().data(),
Expand Down

0 comments on commit ba1f3d0

Please sign in to comment.