You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Kevin Liew (JIRA)" <ji...@apache.org> on 2016/03/15 00:01:33 UTC
[jira] [Updated] (CALCITE-1155) Support columns for IN list
[ https://issues.apache.org/jira/browse/CALCITE-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Liew updated CALCITE-1155:
--------------------------------
Environment: HDP 2.3.4 with Phoenix 4.4.0 on Calcite 1.5; also Phoenix 4.6.0 on Calcite 1.3 (was: HDP 2.3.4 with Phoenix 4.4.0 on Calcite 1.5; also on Phoenix 4.6.0)
> Support columns for IN list
> ---------------------------
>
> Key: CALCITE-1155
> URL: https://issues.apache.org/jira/browse/CALCITE-1155
> Project: Calcite
> Issue Type: Improvement
> Components: avatica
> Affects Versions: 1.5.0
> Environment: HDP 2.3.4 with Phoenix 4.4.0 on Calcite 1.5; also Phoenix 4.6.0 on Calcite 1.3
> Reporter: Kevin Liew
> Assignee: Julian Hyde
> Priority: Minor
> Labels: avatica, calcite, function
>
> {code:sql}select e.first_name from emp e, addr a where e.first_name in (a.first_name){code}
> {code}8org.apache.calcite.avatica.proto.Responses$ErrorResponseÆ
> ëjava.lang.RuntimeException: java.sql.SQLException: ERROR 214 (22008): Values in IN must evaluate to a constant.
> at org.apache.calcite.avatica.jdbc.JdbcMeta.propagate(JdbcMeta.java:645)
> at org.apache.calcite.avatica.jdbc.JdbcMeta.prepare(JdbcMeta.java:671)
> at org.apache.calcite.avatica.remote.LocalService.apply(LocalService.java:177)
> at org.apache.calcite.avatica.remote.Service$PrepareRequest.accept(Service.java:1401)
> at org.apache.calcite.avatica.remote.Service$PrepareRequest.accept(Service.java:1379)
> at org.apache.calcite.avatica.remote.AbstractHandler.apply(AbstractHandler.java:102)
> at org.apache.calcite.avatica.remote.ProtobufHandler.apply(ProtobufHandler.java:38)
> at org.apache.calcite.avatica.server.AvaticaProtobufHandler.handle(AvaticaProtobufHandler.java:68)
> at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52){code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)