You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Daniel Barclay (Drill) (JIRA)" <ji...@apache.org> on 2015/05/10 20:48:59 UTC

[jira] [Created] (DRILL-3013) "... FROM `\` ..." yields "String index out of range: 0" error

Daniel Barclay (Drill) created DRILL-3013:
---------------------------------------------

             Summary: "... FROM `\` ..." yields "String index out of range: 0" error
                 Key: DRILL-3013
                 URL: https://issues.apache.org/jira/browse/DRILL-3013
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Daniel Barclay (Drill)


Trying to use the root of file system schema as a table results in an semi-internal error message (one with UserException error type "PARSE ERROR" but with wording intended for a developer rather than the SQL author):

{noformat}
0: jdbc:drill:zk=local> 
0: jdbc:drill:zk=local> select x from `dfs.tmp`.`/`;
Error: PARSE ERROR: String index out of range: 0


[Error Id: 1a5f2020-6843-44b7-b098-7188b3d1ddb9 on dev-linux2:31010] (state=,code=0)
0: jdbc:drill:zk=local> select x from `dfs.root`.`/`;
Error: PARSE ERROR: String index out of range: 0


[Error Id: f9ece6aa-1e06-4caf-a0ff-fc4242b44be9 on dev-linux2:31010] (state=,code=0)
0: jdbc:drill:zk=local> USE dfs.root;
+------------+------------+
|     ok     |  summary   |
+------------+------------+
| true       | Default schema changed to 'dfs.root' |
+------------+------------+
1 row selected (0.13 seconds)
0: jdbc:drill:zk=local> select x from `/`;
Error: PARSE ERROR: String index out of range: 0


[Error Id: 95f3964d-e0fa-4ab4-b430-1b1f25c0b486 on dev-linux2:31010] (state=,code=0)
0: jdbc:drill:zk=local> 
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)