You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2016/10/14 15:53:20 UTC

[jira] [Resolved] (CALCITE-1441) DOUBLE is returned as BigDecimal with JSON serialization

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

Josh Elser resolved CALCITE-1441.
---------------------------------
       Resolution: Invalid
    Fix Version/s:     (was: avatica-1.9.0)

NumberAccessor is doing this correctly. It is an issue with the WIP ARRAY support. Closing as invalid.

> DOUBLE is returned as BigDecimal with JSON serialization
> --------------------------------------------------------
>
>                 Key: CALCITE-1441
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1441
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>
> Noticed in my testing for ARRAY support:
> Serializing a DOUBLE results in Jackson using BigDecimal. This type is directly returned to the user instead of being correctly returned as a Double per the JDBC 4.1 specification, Table B-1: "JDBC Types Mapped to Java Types"



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