[
https://issues.apache.org/jira/browse/DRILL-6863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denys Ordynskiy updated DRILL-6863:
-----------------------------------
Description:
Drill works incorrectly if path to the table within workspace starts with '/'
Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
but if I add '/' in the begining of the tables path "drop table
s3.tmp.`*{color:#d04437}/{color}*drill/transitive_closure/tab1`", Drill is
trying to find table in the root directory but not in workspace path.
*Actual result:*
Drill returns successfully response
"Table [/drill/transitive_closure/tab1] dropped"
but table was not dropped.
was:
Drill works incorrectly if Parquet table was created using CTAS on S3.
Request "drop table
s3.tmp.`/drill/transitive_closure/DRILL_6173_filterPushdown/tab1`"
returns successfully response:
"Table [/drill/transitive_closure/DRILL_6173_filterPushdown/tab1] dropped"
*Actual result:*
Drill did not return access error for "drop table" query.
In "drillbit.out":
{code:java}
23:54:49.661 [2416095b-6544-fc80-0dfa-2fc19c4dee0e:foreman] ERROR
o.apache.hadoop.fs.s3a.S3AFileSystem - rename: src not found
/drill/transitive_closure/DRILL_6173_filterPushdown/tab1
{code}
*Expected result:*
Drill should return an error on query "drop table" if user hasn't access to
rename folders on S3 storage.
> Drop table is not working if path within workspace starts with '/'
> ------------------------------------------------------------------
>
> Key: DRILL-6863
> URL: https://issues.apache.org/jira/browse/DRILL-6863
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.15.0
> Reporter: Denys Ordynskiy
> Assignee: Bohdan Kazydub
> Priority: Major
> Fix For: 1.15.0
>
>
> Drill works incorrectly if path to the table within workspace starts with '/'
> Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
> but if I add '/' in the begining of the tables path "drop table
> s3.tmp.`*{color:#d04437}/{color}*drill/transitive_closure/tab1`", Drill is
> trying to find table in the root directory but not in workspace path.
> *Actual result:*
> Drill returns successfully response
> "Table [/drill/transitive_closure/tab1] dropped"
> but table was not dropped.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)