drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-3013) "... FROM `\` ..." yields "String index out of range: 0" error
Date Tue, 12 May 2015 20:01:00 GMT

     [ https://issues.apache.org/jira/browse/DRILL-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacques Nadeau updated DRILL-3013:
----------------------------------
    Fix Version/s: 1.2.0

> "... 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
>          Components: SQL Parser
>            Reporter: Daniel Barclay (Drill)
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> 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)

Mime
View raw message