Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](unique key) getEnableUniqueKeyMergeOnWrite should check keys ty…
…pe (apache#44692) Problem Summary: Some user can create Duplicate keys table with `enable_unique_key_merge_on_write=true` in version 1.2, when they upgrade to version 2.0, some logic in BE treat such table as an unique key mow table, make a wrong query plan, which cause BE core. In the method `OlapTable::getEnableUniqueKeyMergeOnWrite()`, we should check if the table is a unique key table.
- Loading branch information