[ 
https://issues.apache.org/jira/browse/ORC-790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun updated ORC-790:
------------------------------
    Affects Version/s: 1.7.0
                       1.6.7

> TIMESTAMP_INSTANT should be primitive
> -------------------------------------
>
>                 Key: ORC-790
>                 URL: https://issues.apache.org/jira/browse/ORC-790
>             Project: ORC
>          Issue Type: Bug
>    Affects Versions: 1.7.0, 1.6.7
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Zoltán Borók-Nagy
>            Priority: Major
>             Fix For: 1.7.0, 1.6.8
>
>
> Currently TIMESTAMP_INSTANT is defined as a non-primitive type. While 
> TIMESTAMP is a primitive type.
> [https://github.com/apache/orc/blob/cfa749854fd4fd78c763762f3515f33b9a206072/java/core/src/java/org/apache/orc/TypeDescription.java#L119]
> {noformat}
> TIMESTAMP_INSTANT("timestamp with local time zone", false);
> Category(String name, boolean isPrimitive) {
>   this.name = name;
>   this.isPrimitive = isPrimitive;
> }
> {noformat}
> This can cause problems in code that branches based on 
> type.getCategory().isPrimitive()



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to