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

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

Iulian Tirzuman created CALCITE-2432:
----------------------------------------

             Summary: 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
         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)