kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liyang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KYLIN-2966) push down jdbc column type id mapping
Date Thu, 23 Nov 2017 03:22:00 GMT

    [ https://issues.apache.org/jira/browse/KYLIN-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16263747#comment-16263747
] 

liyang commented on KYLIN-2966:
-------------------------------

will process in the weekend

> push down jdbc column type id mapping
> -------------------------------------
>
>                 Key: KYLIN-2966
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2966
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Query Engine
>    Affects Versions: v2.1.0
>            Reporter: 翟玉勇
>            Assignee: liyang
>            Priority: Minor
>
> when use presto for kylin pushdown engine,the column type of string is -16,calcite
string is 12,do not mapping
> {code}
> at org.apache.kylin.jdbc.shaded.org.apache.calcite.avatica.Helper.createException(Helper.java:56)
>     at org.apache.kylin.jdbc.shaded.org.apache.calcite.avatica.Helper.createException(Helper.java:41)
>     at org.apache.kylin.jdbc.shaded.org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:156)
>     at org.apache.kylin.jdbc.shaded.org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:218)
>     at com.eleme.monitor.presto.KylinTest.main(KylinTest.java:34)
> Caused by: java.lang.RuntimeException: unknown type -16
>     at org.apache.kylin.jdbc.shaded.org.apache.calcite.avatica.util.AbstractCursor.createAccessor(AbstractCursor.java:221)
>     at org.apache.kylin.jdbc.shaded.org.apache.calcite.avatica.util.AbstractCursor.createAccessor(AbstractCursor.java:84)
>     at org.apache.kylin.jdbc.shaded.org.apache.calcite.avatica.util.AbstractCursor.createAccessors(AbstractCursor.java:73)
>     at org.apache.kylin.jdbc.shaded.org.apache.calcite.avatica.AvaticaResultSet.execute2(AvaticaResultSet.java:207)
>     at org.apache.kylin.jdbc.KylinResultSet.execute(KylinResultSet.java:78)
>     at org.apache.kylin.jdbc.shaded.org.apache.calcite.avatica.AvaticaConnection$1.execute(AvaticaConnection.java:607)
>     at org.apache.kylin.jdbc.KylinMeta.prepareAndExecute(KylinMeta.java:111)
>     at org.apache.kylin.jdbc.shaded.org.apache.calcite.avatica.AvaticaConnection.prepareAndExecuteInternal(AvaticaConnection.java:615)
>     at org.apache.kylin.jdbc.shaded.org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:148)
>     ... 2 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message