SaintBacchus commented on code in PR #17244:
URL: https://github.com/apache/doris/pull/17244#discussion_r1121208642


##########
fe/fe-common/src/main/java/org/apache/doris/common/Config.java:
##########
@@ -1828,12 +1828,20 @@ public class Config extends ConfigBase {
     public static boolean keep_scheduler_mtmv_task_when_job_deleted = false;
 
     /**
-     * The candidate of the backend node for federation query such as hive 
table and es table query.
-     * If the backend of computation role is less than this value, it will 
acquire some mix backend.
-     * If the computation backend is enough, federation query will only assign 
to computation backend.
+     * If set to true, query on external table will prefer to assign to 
compute node.
+     * And the max number of compute node is controlled by 
min_backend_num_for_external_table.
+     * If set to false, query on external table will assign to any node.
      */
     @ConfField(mutable = true, masterOnly = false)
-    public static int backend_num_for_federation = 3;
+    public static boolean prefer_compute_node_for_external_table = false;

Review Comment:
   It's better than before.



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to