drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Hsuan-Yi Chu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-985) Referencing a view via its filename does not work
Date Tue, 04 Nov 2014 23:18:33 GMT

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

Sean Hsuan-Yi Chu updated DRILL-985:
------------------------------------
    Assignee: Steven Phillips  (was: Sean Hsuan-Yi Chu)

> Referencing a view via its filename does not work
> -------------------------------------------------
>
>                 Key: DRILL-985
>                 URL: https://issues.apache.org/jira/browse/DRILL-985
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Metadata
>            Reporter: George Chow
>            Assignee: Steven Phillips
>             Fix For: 0.7.0
>
>         Attachments: DRILL-985.1.patch
>
>
> Since a view exists as a file in a file schema, it can be accessed via its filename in
addition to via its 'simple' entry in INFORMATION_SCHEMA.
> But only the simple name works, not the filename.
> Both names need to be supported.
> {code}
> 0: jdbc:drill:local=localhost:31010> select * from `dfs.tmp`.`georgecview`;
> +------------+------------+------------+------------+
> | timestamp  |   status   |   total    |    data    |
> +------------+------------+------------+------------+
> | 1402698853168 | OK         | 4          | [{"id":"83045086184699543","hostna |
> +------------+------------+------------+------------+
> 1 row selected (0.391 seconds)
> 0: jdbc:drill:local=localhost:31010> select * from `dfs.tmp`.`georgecview.drill`;
> Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id:
"16a3962a-18b9-4565-a1ee-5dd44e610b25"
> endpoint {
>   address: "192.168.39.43"
>   user_port: 31010
>   control_port: 31011
>   data_port: 31012
> }
> error_type: 0
> message: "Failure while parsing sql. < ValidationException:[ org.eigenbase.util.EigenbaseContextException:
From line 1, column 15 to line 1, column 43 ] < EigenbaseContextException:[ From line 1,
column 15 to line 1, column 43 ] < SqlValidatorException:[ Table 'dfs.tmp.georgecview.drill'
not found ]"
> ]
> Error: exception while executing query (state=,code=0)
> {code}



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

Mime
View raw message