matrixorigin / matrixone

Hyperconverged cloud-edge native database
https://docs.matrixorigin.cn/en
Apache License 2.0
1.79k stars 277 forks source link

[opt] skip duplication checking for adding secondary index (cp 2.0-dev) #20246

Closed aunjgr closed 9 hours ago

aunjgr commented 19 hours ago

What type of PR is this?

Which issue(s) this PR fixes:

issue #17500 #20236

What this PR does / why we need it:

CREATE INDEX or ALTER TABLE ADD INDEX queries are converted to INSERT INTO. For this scenerio, we can skip checking duplication.