[
https://issues.apache.org/jira/browse/DRILL-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14200501#comment-14200501
]
Matt Burgess commented on DRILL-1644:
-------------------------------------
This could be done hierarchically with inheritance, or perhaps a different
approach entirely, such as using Avatica's AbstractCursor.Getter impls as
suggested by Julian Hyde
> Promote data types where prudent
> --------------------------------
>
> Key: DRILL-1644
> URL: https://issues.apache.org/jira/browse/DRILL-1644
> Project: Apache Drill
> Issue Type: Improvement
> Components: Execution - Data Types
> Reporter: Matt Burgess
>
> Drill data types should support "promotion" of data types where it makes
> sense, including (but not limited to) the following:
> NullableBitAccessor should implement getBoolean()
> NullablleIntAccessor should implement getShort(), etc.
> NullableBigIntAccessor should implement getInt(), etc.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)