You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Denys Ordynskiy (Jira)" <ji...@apache.org> on 2020/01/28 23:04:00 UTC

[jira] [Closed] (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 ]

Denys Ordynskiy closed DRILL-7527.
----------------------------------

Successfully verified '/' on table names with and without workspace definition.

> 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
>              Labels: ready-to-commit
>             Fix For: 1.18.0
>
>
> *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)