You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2018/07/31 17:41:01 UTC

[jira] [Commented] (CALCITE-2432) Unknown column types not being handled

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

Julian Hyde commented on CALCITE-2432:
--------------------------------------

I don't think it should be "configurable". I think we should support data type -150. (What is data type -150?)

> Unknown column types not being handled
> --------------------------------------
>
>                 Key: CALCITE-2432
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2432
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Iulian Tirzuman
>            Assignee: Julian Hyde
>            Priority: Major
>         Attachments: sql type -150.jpg
>
>
> The SQL Server column type sql_variant of table SEQUENCES , column START_VALUE which has the dataType -150 and the code "SqlType.valueOf(dataType)" fails because it doesn't contain it; it should at least configurable to be defaulted to a a default sql type ?
> Here is the link to the code where the issue happens:
> https://github.com/apache/calcite/blob/8b09736870de922b5c0b0b149732ebeacd990437/core/src/main/java/org/apache/calcite/adapter/jdbc/JdbcSchema.java#L319
> I've attached also a screenshot with the debug before the error occurs.
> I've used sqljdbc42.jar as the JDBC driver to connect to SQL Server.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)