Details
-
Story
-
Resolution: Fixed
-
Major
-
6.5.0
-
None
Description
Be able to create and drop indexes on collections.
Setup: Standard.
Actions:
- Set query context default:myBucket.
- Run query CREATE PRIMARY INDEX ON myScope.myCollection .
Expected Result: Index named "#primary" appears.
Setup: Standard.
Actions:
- Set query context default:.
- Run query CREATE INDEX my_idx_1 ON myBucket.myScope.myCollection(foo, bar) .
Expected Result: Index named "my_idx_1" appears.
Setup: Standard.
Actions:
- Set query context default:garbage.
- Run query CREATE INDEX my_idx_1 ON default:myBucket.myScope.myCollection(foo, bar) .
- Run query DROP INDEX default:myBucket.myScope.myCollection.my_idx_1 .
Expected Result: Index named "my_idx1" appears and disappears.
Setup: Standard.
Actions:
- Set query context default:myBucket.
- Run query CREATE PRIMARY INDEX ON myScope.myCollection .
- Run query DROP PRIMARY INDEX ON myScope.myCollection
Expected Result: Index named "#primary" appears and disappears.
Attachments
Issue Links
- is duplicated by
-
MB-19784 support additional drop index syntax
- Closed
For Gerrit Dashboard: MB-31295 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
123252,4 | MB-31295 improve path resolution for various DDL & DML | master | query | Status: MERGED | +2 | +1 |
160710,2 | MB-19784 Permit dropping of named primary index via DROP PRIMARY INDEX statement | master | query | Status: MERGED | +2 | +1 |