phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Istvan Toth (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (PHOENIX-2805) Support array type from avatica and sqlline-thin
Date Thu, 05 Aug 2021 09:29:00 GMT

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

Istvan Toth resolved PHOENIX-2805.
----------------------------------
    Resolution: Duplicate

> Support array type from avatica and sqlline-thin
> ------------------------------------------------
>
>                 Key: PHOENIX-2805
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2805
>             Project: Phoenix
>          Issue Type: New Feature
>    Affects Versions: 4.6.0
>         Environment: Phoenix 4.7.0-HBase-1.1
>            Reporter: YoungWoo Kim
>            Priority: Major
>
> While fetching result from queryserver, I got an error from sqlline-thin:
> {code}
> Error: Error -1 (00000) : Error while executing SQL "select param_name from my.tbl limit
100": Remote driver error: UnsupportedOperationException: Currently not supported (state=00000,code=-1)
> org.apache.calcite.avatica.AvaticaSqlException: Error -1 (00000) : Error while executing
SQL "select param_name from my.tbl limit 100": Remote driver error: UnsupportedOperationException:
Currently not supported
> 	at org.apache.calcite.avatica.Helper.createException(Helper.java:53)
> 	at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
> 	at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:143)
> 	at org.apache.calcite.avatica.AvaticaStatement.execute(AvaticaStatement.java:177)
> 	at sqlline.Commands.execute(Commands.java:822)
> 	at sqlline.Commands.sql(Commands.java:732)
> 	at sqlline.SqlLine.dispatch(SqlLine.java:808)
> 	at sqlline.SqlLine.begin(SqlLine.java:681)
> 	at sqlline.SqlLine.start(SqlLine.java:398)
> 	at sqlline.SqlLine.main(SqlLine.java:292)
> java.lang.UnsupportedOperationException: Currently not supported
> 	at org.apache.phoenix.schema.types.PhoenixArray.getResultSet(PhoenixArray.java:201)
> 	at org.apache.calcite.avatica.jdbc.JdbcResultSet.getValue(JdbcResultSet.java:189)
> 	at org.apache.calcite.avatica.jdbc.JdbcResultSet.frame(JdbcResultSet.java:142)
> 	at org.apache.calcite.avatica.jdbc.JdbcResultSet.create(JdbcResultSet.java:91)
> 	at org.apache.calcite.avatica.jdbc.JdbcResultSet.create(JdbcResultSet.java:71)
> 	at org.apache.calcite.avatica.jdbc.JdbcMeta.prepareAndExecute(JdbcMeta.java:706)
> 	at org.apache.calcite.avatica.remote.LocalService.apply(LocalService.java:186)
> 	at org.apache.calcite.avatica.remote.Service$PrepareAndExecuteRequest.accept(Service.java:868)
> 	at org.apache.calcite.avatica.remote.Service$PrepareAndExecuteRequest.accept(Service.java:842)
> 	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)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
> 	at org.eclipse.jetty.server.Server.handle(Server.java:497)
> 	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
> 	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:245)
> 	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
> 	at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message