[ 
https://issues.apache.org/jira/browse/ASTERIXDB-3551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ian Maxon updated ASTERIXDB-3551:
---------------------------------
    Labels: triaged  (was: )

> DDL operations assume case-sensitivity of storage
> -------------------------------------------------
>
>                 Key: ASTERIXDB-3551
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3551
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: MTD - Metadata, STO - Storage
>            Reporter: Ian Maxon
>            Assignee: Ian Maxon
>            Priority: Major
>              Labels: triaged
>
> On case-insensitive filesystems, our storage properly compares directories 
> according to how the case-sensitivity of the filesystem. However, this isn't 
> propagated up to the DDL statements. Therefore a set of statements like this:
> {code:java}
> CREATE DATAVERSE test;
> CREATE DATASET foo(fooType) primary key id;
> CREATE DATAVERSE Test;
> CREATE DATASET foo2(fooType) primary key id;
> DROP DATAVERSE test;
> DROP DATAVERSE Test;
> {code}
> Will end up with the last drop being unable to find the files to delete with 
> a Hyracks exception, because the first already deleted them. 
>  
> We should at the very least warn when creating a dataverse that already seems 
> to exist due to the case insensitivity of the filesystem.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to