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

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

Commit 91da9477d12f295af888514f4228152b2d5b2d14 in asterixdb's branch 
refs/heads/master from Ian Maxon
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=91da9477d1 ]

[ASTERIXDB-3551][TEST]: Kludge OptimizerTest to avoid case-sensitivity

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

Ext-ref: MB-64953

Change-Id: I9ba2ce7afc54ddd08f5e522627c56e22f51cabac
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19352
Integration-Tests: Jenkins <[email protected]>
Tested-by: Ian Maxon <[email protected]>
Reviewed-by: Ian Maxon <[email protected]>
Reviewed-by: Vijay Sarathy <[email protected]>


> 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