You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2020/06/17 01:43:27 UTC

[incubator-doris] branch master updated: Show create table result with bitmap column should not return default value (#3882)

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

morningman 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 bfbe225  Show create table result with bitmap column should not return default value (#3882)
bfbe225 is described below

commit bfbe22526f91771b5323f92e49b182938a9572ea
Author: WingC <10...@qq.com>
AuthorDate: Tue Jun 16 20:43:17 2020 -0500

    Show create table result with bitmap column should not return default value (#3882)
---
 fe/src/main/java/org/apache/doris/catalog/Column.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/src/main/java/org/apache/doris/catalog/Column.java b/fe/src/main/java/org/apache/doris/catalog/Column.java
index 461cf6a..ae67839 100644
--- a/fe/src/main/java/org/apache/doris/catalog/Column.java
+++ b/fe/src/main/java/org/apache/doris/catalog/Column.java
@@ -341,7 +341,7 @@ public class Column implements Writable {
         } else {
             sb.append("NOT NULL ");
         }
-        if (defaultValue != null && getDataType() != PrimitiveType.HLL) {
+        if (defaultValue != null && getDataType() != PrimitiveType.HLL && getDataType() != PrimitiveType.BITMAP) {
             sb.append("DEFAULT \"").append(defaultValue).append("\" ");
         }
         sb.append("COMMENT \"").append(comment).append("\"");


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