Skip to content

2024.2.1.0-b178

@andrei-mart andrei-mart tagged this 16 Jan 18:30
Summary:
Original commit: ff7dbbac5f69757dc730c1d06a8d99d69116f71b / D41145
It was incorrectly assumed that requests with equality conditions on
all key columns, when those conditions are converted to ybctid, do not
need to keep the row order.
It is true in most cases, basically, because those conditions usually
produce single ybctid, and yield at most one row.
However, there is one exception, when it is not true. If one column's
equality condition is an IN operator, it yields multiple ybctids, which
order may be important.
Fixed by providing the keep_order parameter.
Jira: DB-14813

Test Plan: ./yb_build.sh --java-test org.yb.pgsql.TestPgRegressHashInQueries#schedule

Reviewers: dmitry, telgersma

Reviewed By: telgersma

Subscribers: yql

Tags: #jenkins-ready

Differential Revision: https://phorge.dev.yugabyte.com/D41230
Assets 2
Loading