[
https://issues.apache.org/jira/browse/DRILL-4945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15575972#comment-15575972
]
Laurent Goujon commented on DRILL-4945:
---------------------------------------
I just checked the Oracle JDBC driver and the reported type for a year to month
interval when preparing/executing a query is INTERVALYM and not INTERVAL
> Missing subtype information in metadata returned by prepared statement
> ----------------------------------------------------------------------
>
> Key: DRILL-4945
> URL: https://issues.apache.org/jira/browse/DRILL-4945
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Laurent Goujon
> Priority: Minor
>
> Column metadata returned by prepared statement contains partial type
> information, especially for interval types.
> Currently it only returns "INTERVAL" instead of a more precise type like
> "INTERVAL MONTH" for example.
> There's also no minor type, so the client can adjust the type itself.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)