drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramana Inukonda Nagaraj (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-399) Specifying schema=dfs and not specifying schema at query does not work
Date Thu, 06 Mar 2014 00:12:42 GMT
Ramana Inukonda Nagaraj created DRILL-399:
---------------------------------------------

             Summary: Specifying schema=dfs and not specifying schema at query does not work
                 Key: DRILL-399
                 URL: https://issues.apache.org/jira/browse/DRILL-399
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Ramana Inukonda Nagaraj


Repro steps:

Start sqlline 
bin/sqlline -u jdbc:drill:schema=dfs -n admin -p admin

0: jdbc:drill:schema=dfs> select * from `/region.parquet`;
Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id:
"76bae1a1-3b86-4dc8-9cd4-6e42cb7fe900"
endpoint {
  address: "perfnode166.perf.lab"
  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 31 ] < EigenbaseContextException:[ From line 1,
column 15 to line 1, column 31 ] < SqlValidatorException:[ Table \'/region.parquet\' not
found ]"
]
Error: exception while executing query (state=,code=0)

This works though.
0: jdbc:drill:schema=dfs> select * from dfs.`region.parquet`;

Also, specifying cp as schema works.

[root@perfnode166 drill]# bin/sqlline -u jdbc:drill:schema=cp -n admin -p admin

0: jdbc:drill:schema=cp> select * from `employee.json`;





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message