Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.14.0
-
None
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.`/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.
Expected result:
Table was droped.
Bug can be reproduced on S3 and DFS storages. On FileSystem storage Drill successfully returns error message if "drop table" query starts with '/' in table path.
Attachments
Issue Links
- relates to
-
DRILL-1130 Leading / in a select query should be rooted from the workspace rather than from the file system
-
- Resolved
-
-
DRILL-6869 Drill allows to create views outside workspace
-
- Closed
-
- links to