You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Igor Sapego (JIRA)" <ji...@apache.org> on 2016/01/12 21:00:40 UTC

[jira] [Commented] (IGNITE-2223) CPP: ODBC queries sometimes return wrong types for columns in metadata.

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

Igor Sapego commented on IGNITE-2223:
-------------------------------------

After a closer look I found out that the issue is not in wrong type, returned by the metadata queries. The real issue is that on the C++ side we does not support Decimal type yet so we don't know how to read it which causes an error during row fetch.

> CPP: ODBC queries sometimes return wrong types for columns in metadata.
> -----------------------------------------------------------------------
>
>                 Key: IGNITE-2223
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2223
>             Project: Ignite
>          Issue Type: Bug
>          Components: odbc
>            Reporter: Igor Sapego
>            Assignee: Igor Sapego
>             Fix For: 1.6
>
>
> Some SQL queries return wrong types in metadata. For example, if query result set has column of type "Decimal" it will be transferred as "Long" instead. As a result, value can not be read in the application data buffer during row fetch.



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