Description
When executing ALTER TABLE ... PARTITION BY HASH on a table that has no primary key but has an HNSW vector index, the operation fails with error 1210.
Steps to Reproduce
- Navigate to the directory
/obdata/data/AndroidTest/ob_opensource_test/tool/... on the test machine.
- Execute the test case
vector_index.hnsw_index_without_pk.
- Observe the failure when the
ALTER TABLE ... PARTITION BY HASH command is run.
Impact
Partitioning operations on tables with HNSW vector indexes but no primary key are blocked.
Environment
- Test case:
vector_index.hnsw_index_without_pk
- Operating System: Windows
Description
When executing
ALTER TABLE ... PARTITION BY HASHon a table that has no primary key but has an HNSW vector index, the operation fails with error 1210.Steps to Reproduce
/obdata/data/AndroidTest/ob_opensource_test/tool/...on the test machine.vector_index.hnsw_index_without_pk.ALTER TABLE ... PARTITION BY HASHcommand is run.Impact
Partitioning operations on tables with HNSW vector indexes but no primary key are blocked.
Environment
vector_index.hnsw_index_without_pk