You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Bhallamudi Venkata Siva Kamesh (JIRA)" <ji...@apache.org> on 2014/04/11 09:12:15 UTC
[jira] [Commented] (DRILL-500) Drill fails to parse '%' in query
[ https://issues.apache.org/jira/browse/DRILL-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13966297#comment-13966297 ]
Bhallamudi Venkata Siva Kamesh commented on DRILL-500:
------------------------------------------------------
Even without % also query is failing
{noformat}
0: jdbc:drill:zk=local> select (name || registration) as COL from dfs.`/opt/drill/sample-data/voter.parquet` where name like 'young';
Apr 11, 2014 12:32:36 PM org.eigenbase.sql.validate.SqlValidatorException <init>
SEVERE: org.eigenbase.sql.validate.SqlValidatorException: Operands /opt/drill/sample-data/voter.parquet.NAME, 'young' not comparable to each other
Apr 11, 2014 12:32:36 PM org.eigenbase.util.EigenbaseException <init>
SEVERE: org.eigenbase.util.EigenbaseContextException: From line 0, column 0 to line 1, column 108
Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "d5768bc3-595a-49f4-8c88-5d5f485b4e9a"
endpoint {
address: "172.28.208.77"
user_port: 31010
control_port: 31011
data_port: 31012
}
error_type: 0
message: "Failure while parsing sql. < ValidationException:[ org.eigenbase.util.EigenbaseContextException: From line 0, column 0 to line 1, column 108 ] < EigenbaseContextException:[ From line 0, column 0 to line 1, column 108 ] < SqlValidatorException:[ Operands /opt/drill/sample-data/voter.parquet.NAME, \'young\' not comparable to each other ]"
]
Error: exception while executing query (state=,code=0)
{noformat}
> Drill fails to parse '%' in query
> ---------------------------------
>
> Key: DRILL-500
> URL: https://issues.apache.org/jira/browse/DRILL-500
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.0.0
> Environment: CentOS release 6.2
> Reporter: Krystal
> Attachments: voter.parquet
>
>
> Ran the following query:
> select (name || registration) as COL from voter where name like '%young';
> The query fails with the following error:
> 0: jdbc:drill:schema=dfs> select (name || registration) as COL from dfs.`voter` where name like '%young';
> Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "fbebd5a8-cb5a-411a-af1b-6adcdb489a74"
> endpoint {
> address: "qa-node57.qa.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 0, column 0 to line 1, column 78 ] < EigenbaseContextException:[ From line 0, column 0 to line 1, column 78 ] < SqlValidatorException:[ Operands voter.NAME, \'%young\' not comparable to each other ]"
> ]
> Error: exception while executing query (state=,code=0)
--
This message was sent by Atlassian JIRA
(v6.2#6252)