Zoltán Borók-Nagy created ORC-790:
-------------------------------------
Summary: TIMESTAMP_INSTANT should be primitive
Key: ORC-790
URL: https://issues.apache.org/jira/browse/ORC-790
Project: ORC
Issue Type: Bug
Reporter: Zoltán Borók-Nagy
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)