Ian Maxon created ASTERIXDB-3551:
------------------------------------
Summary: 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
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 DATASET test;
CREATE DATAVERSE foo(fooType) primary key id;
CREATE DATAVERSE Test;
CREATE DATAVERSE 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)