You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ya...@apache.org on 2021/11/03 09:49:55 UTC

[kylin] branch kylin3 updated: KYLIN-4974 add time serializer to handle CURRENT_TIME calcite function. (#1637)

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

yaqian pushed a commit to branch kylin3
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/kylin3 by this push:
     new 018e2d7  KYLIN-4974 add time serializer to handle CURRENT_TIME calcite function. (#1637)
018e2d7 is described below

commit 018e2d7155f2b260c398a3f2a828ff3f621f91f3
Author: Alexander Sidorchuk <39...@users.noreply.github.com>
AuthorDate: Wed Nov 3 12:49:24 2021 +0300

    KYLIN-4974 add time serializer to handle CURRENT_TIME calcite function. (#1637)
    
    Co-authored-by: alexandr.sidorchuk <al...@apm-consult.com>
---
 .../main/java/org/apache/kylin/metadata/datatype/DataTypeSerializer.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core-metadata/src/main/java/org/apache/kylin/metadata/datatype/DataTypeSerializer.java b/core-metadata/src/main/java/org/apache/kylin/metadata/datatype/DataTypeSerializer.java
index c6fed0d..8dc1a49 100644
--- a/core-metadata/src/main/java/org/apache/kylin/metadata/datatype/DataTypeSerializer.java
+++ b/core-metadata/src/main/java/org/apache/kylin/metadata/datatype/DataTypeSerializer.java
@@ -51,6 +51,7 @@ abstract public class DataTypeSerializer<T> implements BytesSerializer<T>, java.
         implementations.put("long8", Long8Serializer.class);
         implementations.put("boolean", BooleanSerializer.class);
         implementations.put("date", DateTimeSerializer.class);
+        implementations.put("time", DateTimeSerializer.class);
         implementations.put("datetime", DateTimeSerializer.class);
         implementations.put("timestamp", DateTimeSerializer.class);
     }