You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/06/08 16:30:36 UTC

[incubator-doris] branch master updated: [fix] Fix type description in PrimitiveType (#9985)

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

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 342ab52270 [fix] Fix type description in PrimitiveType (#9985)
342ab52270 is described below

commit 342ab5227079194ac0c5f457bbcc666ee622bfb4
Author: smallx <e9...@163.com>
AuthorDate: Thu Jun 9 00:30:32 2022 +0800

    [fix] Fix type description in PrimitiveType (#9985)
---
 fe/fe-core/src/main/java/org/apache/doris/catalog/PrimitiveType.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/PrimitiveType.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/PrimitiveType.java
index d88369b77e..a953386630 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/PrimitiveType.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/PrimitiveType.java
@@ -57,7 +57,7 @@ public enum PrimitiveType {
 
     ARRAY("ARRAY", 24, TPrimitiveType.ARRAY),
     MAP("MAP", 24, TPrimitiveType.MAP),
-    STRUCT("MAP", 24, TPrimitiveType.STRUCT),
+    STRUCT("STRUCT", 24, TPrimitiveType.STRUCT),
     STRING("STRING", 16, TPrimitiveType.STRING),
     // Unsupported scalar types.
     BINARY("BINARY", -1, TPrimitiveType.BINARY),
@@ -297,7 +297,7 @@ public enum PrimitiveType {
         // QUANTILE_STATE
         builder.put(QUANTILE_STATE, QUANTILE_STATE);
 
-        //TIME
+        // TIME
         builder.put(TIME, TIME);
         builder.put(TIME, DOUBLE);
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org