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:26 UTC

[orc] branch branch-1.6 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 branch-1.6
in repository https://gitbox.apache.org/repos/asf/orc.git


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

commit c0708bd9ae698dc11973ef8d5724eeea5aa16d2f
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 1726833..390bb9b 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;