Repository navigation
bug fix: unique key/secondary key get incorrect value (#18711) - #18717
Conversation
…8711) bug fix: unique key/secondary key get incorrect value Approved by: @heni02, @badboynt1, @aunjgr
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍
|
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
User description
bug fix: unique key/secondary key get incorrect value
Approved by: @heni02, @badboynt1, @aunjgr
What type of PR is this?
Which issue(s) this PR fixes:
issue https://github.com/matrixorigin/MO-Cloud/issues/4059
What this PR does / why we need it:
bug fix: unique key/secondary key get incorrect value
PR Type
Bug fix, Tests
Description
Changes walkthrough 📝
build_dml_util.go
Simplify primary key position computation logicpkg/sql/plan/build_dml_util.go
select.result
Add test cases for composite primary key queriestest/distributed/cases/dml/select/select.result
select.test
Introduce tests for tables with composite primary keystest/distributed/cases/dml/select/select.test