You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by li...@apache.org on 2021/04/02 03:55:08 UTC

[incubator-doris] branch master updated: [bug-fix] Fix cluster property in hadoop/broker load (#5587)

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

lingmiao 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 dce66c7  [bug-fix] Fix cluster property in hadoop/broker load (#5587)
dce66c7 is described below

commit dce66c73292fd64a392681936efa6f8f0eef8a3f
Author: xy720 <22...@users.noreply.github.com>
AuthorDate: Fri Apr 2 11:54:46 2021 +0800

    [bug-fix] Fix cluster property in hadoop/broker load (#5587)
    
    The cluster property has been removed from load stmt which is incorrect. It caused user could not create hadoop/broker load.
    Fix #5586
---
 fe/fe-core/src/main/java/org/apache/doris/analysis/LoadStmt.java | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/LoadStmt.java b/fe/fe-core/src/main/java/org/apache/doris/analysis/LoadStmt.java
index d8dfee5..2915618 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/analysis/LoadStmt.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/LoadStmt.java
@@ -161,6 +161,12 @@ public class LoadStmt extends DdlStmt {
                     return Integer.valueOf(s);
                 }
             })
+            .put(CLUSTER_PROPERTY, new Function<String, String>() {
+                @Override
+                public @Nullable String apply(@Nullable String s) {
+                    return s;
+                }
+            })
             .build();
 
     public LoadStmt(LabelName label, List<DataDescription> dataDescriptions,

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