You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (Jira)" <ji...@apache.org> on 2020/01/13 18:16:00 UTC
[jira] [Assigned] (DRILL-7527) DROP METADATA doesn't work with
table name starting with '/' inside workspace
[ https://issues.apache.org/jira/browse/DRILL-7527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arina Ielchiieva reassigned DRILL-7527:
---------------------------------------
Assignee: Vova Vysotskyi
> DROP METADATA doesn't work with table name starting with '/' inside workspace
> -----------------------------------------------------------------------------
>
> Key: DRILL-7527
> URL: https://issues.apache.org/jira/browse/DRILL-7527
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.17.0
> Reporter: Denys Ordynskiy
> Assignee: Vova Vysotskyi
> Priority: Major
>
> *Description:*
> - create parquet table with CTAS: CREATE TABLE dfs.tmp.`folder/file` AS SELECT * FROM cp.`employee.json`;
> - refresh metadata for table: ANALYZE TABLE dfs.tmp.`folder/file` REFRESH METADATA;
> - drop metadata: ANALYZE TABLE dfs.tmp.`/folder/file` DROP METADATA [IF EXISTS];
> *Expexted result:*
> Metadata for table [folder/file] dropped.
> *Actual result:*
> Error: VALIDATION ERROR: Metadata for table [/folder/file] not found.
> Shoud work as DROP TABLE:
> DROP TABLE dfs.tmp.`/folder/file`;
> Table [folder/file] dropped
--
This message was sent by Atlassian Jira
(v8.3.4#803005)