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

Julian Hyde resolved CALCITE-730.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0-incubating

Fixed in 
http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/bf86ef9d.

> ClassCastException in table from CloneSchema
> --------------------------------------------
>
>                 Key: CALCITE-730
>                 URL: https://issues.apache.org/jira/browse/CALCITE-730
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>             Fix For: 1.3.0-incubating
>
>
> ClassCastException in table from CloneSchema. Use the schema for CALCITE-729, 
> then:
> {noformat}> select * from scott_clone.emp;
> +-------+------------+-----------+-------+----------+---------+---------+--------+
> | EMPNO |   ENAME    |    JOB    |  MGR  | HIREDATE |   SAL   |  COMM   | 
> DEPTNO |
> +-------+------------+-----------+-------+----------+---------+---------+--------+
> java.lang.ClassCastException: java.lang.Integer cannot be cast to 
> java.lang.Short
>       at 
> org.apache.calcite.avatica.util.AbstractCursor$ShortAccessor.getShort(AbstractCursor.java:466)
>       at org.apache.calcite.avatica.AvaticaSite.get(AvaticaSite.java:362)
>       at 
> org.apache.calcite.avatica.AvaticaResultSet.getObject(AvaticaResultSet.java:381)
>       at sqlline.Rows$Row.<init>(Rows.java:157)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to