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

ASF GitHub Bot commented on DRILL-7527:
---------------------------------------

asfgit commented on pull request #1958: DRILL-7527: DROP METADATA doesn't work 
with table name starting with '/' inside workspace
URL: https://github.com/apache/drill/pull/1958
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> 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)

Reply via email to