-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#13508] DocDB: Handle not ordered columns while generating packed row
Summary: Row packer expected that columns are passed in the same order as they listed in the schema. But in case of covering indexes, insert request could contain columns in a different order. As result packing is failed. Fixed by reordering columns when they are not sorted. Test Plan: PgPackedRowTest.CoveringIndex Reviewers: dmitry, bogdan, mbautin Reviewed By: mbautin Subscribers: kannan, rthallam, qhu, ybase Differential Revision: https://phabricator.dev.yugabyte.com/D18542
- Loading branch information
Showing
7 changed files
with
263 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.