[ 
https://issues.apache.org/jira/browse/ASTERIXDB-2387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16497226#comment-16497226
 ] 

ASF subversion and git services commented on ASTERIXDB-2387:
------------------------------------------------------------

Commit f02b43bcff1c859b933f55df9654899d025b1ed3 in asterixdb's branch 
refs/heads/release-0.9.4-pre-rc from [~mhubail]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=f02b43b ]

[ASTERIXDB-2387][MTD] Prevent Dataset Primary Index Drop

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Ensure a dataset primary index cannot be dropped
  without dropping the dataset.
- Add test case.

Change-Id: Ic2256925d088fa5b5ba3b9623a29b6219b5a9b1e
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2645
Sonar-Qube: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Till Westmann <[email protected]>


> Dataset primary index can be dropped without dropping the dataset
> -----------------------------------------------------------------
>
>                 Key: ASTERIXDB-2387
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2387
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: MTD - Metadata
>    Affects Versions: 0.9.3
>            Reporter: Murtadha Hubail
>            Assignee: Murtadha Hubail
>            Priority: Major
>             Fix For: 0.9.4
>
>
> To reproduce run the following:
> {code:java}
> create type aType as {id:int};
> create dataset ds(aType) primary key id;
> drop index ds.ds;
> {code}
> After that, the dataset cannot be dropped.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to