You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by om...@apache.org on 2021/04/28 17:49:21 UTC

[orc] branch main updated: ORC-790: TIMESTAMP_INSTANT should be primitive

This is an automated email from the ASF dual-hosted git repository.

omalley pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new 7e691de  ORC-790: TIMESTAMP_INSTANT should be primitive
7e691de is described below

commit 7e691dee098cf8a7f8a7800f90142ff2a35c3bd0
Author: Zoltan Borok-Nagy <bo...@cloudera.com>
AuthorDate: Mon Apr 26 16:44:40 2021 +0200

    ORC-790: TIMESTAMP_INSTANT should be primitive
    
    This patch makes TIMESTAMP_INSTANT a primitive type.
---
 java/core/src/java/org/apache/orc/TypeDescription.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/core/src/java/org/apache/orc/TypeDescription.java b/java/core/src/java/org/apache/orc/TypeDescription.java
index a6c9944..f85fe1c 100644
--- a/java/core/src/java/org/apache/orc/TypeDescription.java
+++ b/java/core/src/java/org/apache/orc/TypeDescription.java
@@ -116,7 +116,7 @@ public class TypeDescription
     MAP("map", false),
     STRUCT("struct", false),
     UNION("uniontype", false),
-    TIMESTAMP_INSTANT("timestamp with local time zone", false);
+    TIMESTAMP_INSTANT("timestamp with local time zone", true);
 
     Category(String name, boolean isPrimitive) {
       this.name = name;