my-vegetable-has-exploded commented on code in PR #34447:
URL: https://github.com/apache/doris/pull/34447#discussion_r1594017644


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/ColumnDef.java:
##########
@@ -98,14 +98,15 @@ public DefaultValue(boolean isSet, String value, String 
exprName, Long precision
         // default "CURRENT_TIMESTAMP", only for DATETIME type
         public static String CURRENT_TIMESTAMP = "CURRENT_TIMESTAMP";
         public static String NOW = "now";
+        public static String HLL_EMPTY = "HLL_EMPTY";
         public static DefaultValue CURRENT_TIMESTAMP_DEFAULT_VALUE = new 
DefaultValue(true, CURRENT_TIMESTAMP, NOW);
         // no default value
         public static DefaultValue NOT_SET = new DefaultValue(false, null);
         // default null
         public static DefaultValue NULL_DEFAULT_VALUE = new DefaultValue(true, 
null);
         public static String ZERO = new String(new byte[] {0});
         // default "value", "0" means empty hll
-        public static DefaultValue HLL_EMPTY_DEFAULT_VALUE = new 
DefaultValue(true, ZERO);
+        public static DefaultValue HLL_EMPTY_DEFAULT_VALUE = new 
DefaultValue(true, ZERO, HLL_EMPTY);

Review Comment:
   add `HLL_EMPTY()` as `defaultValueExpr`. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to