You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Aman Sinha (JIRA)" <ji...@apache.org> on 2017/07/01 16:29:00 UTC
[jira] [Commented] (DRILL-5655) Drill returns a VARCHAR when DATE
projected by query sent to SQL Server
[ https://issues.apache.org/jira/browse/DRILL-5655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16071310#comment-16071310 ]
Aman Sinha commented on DRILL-5655:
-----------------------------------
[~the6campbells] thanks for testing against various RDBMS data sources. Would you be willing to contribute patches as well :) ? I am not aware of someone actively looking at these issues you have created recently.
Also, a suggestion: when creating the JIRA, for the component you should categorize these as 'Storage-JDBC'.
> Drill returns a VARCHAR when DATE projected by query sent to SQL Server
> -----------------------------------------------------------------------
>
> Key: DRILL-5655
> URL: https://issues.apache.org/jira/browse/DRILL-5655
> Project: Apache Drill
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.10.0
> Environment: Drill 1.10
> SQL Server 2016
> Reporter: N Campbell
>
> A query which projects a DATE literal will return a VARCHAR(65k) if query uses SQL Server.
> If the query uses a Parquet file a DATE type is returned via JDBC
> If the query uses ORACLE a TIMESTAMP type is returned via JDBC
> select DATE '1996-01-01' from x.y.TVERSION
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)