You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Ramana Inukonda Nagaraj (JIRA)" <ji...@apache.org> on 2015/04/24 20:00:38 UTC

[jira] [Closed] (DRILL-453) Query on a directory throws exception

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

Ramana Inukonda Nagaraj closed DRILL-453.
-----------------------------------------

Looks like a duplicate of Drill-405

> Query on a directory throws exception
> -------------------------------------
>
>                 Key: DRILL-453
>                 URL: https://issues.apache.org/jira/browse/DRILL-453
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>            Reporter: Neeraja
>            Priority: Critical
>             Fix For: 0.4.0
>
>
> Following exception is thrown when issuing query against a directory.
> The directory contained 2 files of similar schema. Queries against each single file works but query against doesn't work.
> 0: jdbc:drill:> select * from dfs.`/home/mapr/apache-drill-1.0.0-m2-incubating-SNAPSHOT/sample-data/fb`;
> Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "3dc30404-99b7-4ba1-ba38-c8afb7006fb0"
> endpoint {
>   address: "ubuntu"
>   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 87 ] < EigenbaseContextException:[ From line 1, column 15 to line 1, column 87 ] < SqlValidatorException:[ Table \'dfs./home/mapr/apache-drill-1.0.0-m2-incubating-SNAPSHOT/sample-data/fb\' not found ]"
> ]Error: exception while executing query (state=,code=0)



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