Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.0
-
None
-
CentOS release 6.2
Description
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)