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/25 11:48:54 UTC

[doris] branch master updated: [improvement] Modify the default value of doris_scan_range_max_mb (#10232)

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/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 4ca257a1cd [improvement] Modify the default value of doris_scan_range_max_mb (#10232)
4ca257a1cd is described below

commit 4ca257a1cdcd518d8e825c8c6fc9909db1dbc56e
Author: ZenoYang <co...@qq.com>
AuthorDate: Sat Jun 25 19:48:49 2022 +0800

    [improvement] Modify the default value of doris_scan_range_max_mb (#10232)
    
    * [improvement] Modify the default value of doris_scan_range_max_mb
    
    * fix regression-test
---
 be/src/common/config.h                                            | 2 +-
 .../suites/data_model/duplicate/storage/test_dup_tab_char.groovy  | 8 ++++----
 .../duplicate/storage/test_dup_tab_char_nullable.groovy           | 8 ++++----
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/be/src/common/config.h b/be/src/common/config.h
index d3c189231b..9daf8f1c6a 100644
--- a/be/src/common/config.h
+++ b/be/src/common/config.h
@@ -166,7 +166,7 @@ CONF_mInt64(thrift_client_retry_interval_ms, "1000");
 // max row count number for single scan range, used in segmentv1
 CONF_mInt32(doris_scan_range_row_count, "524288");
 // max bytes number for single scan range, used in segmentv2
-CONF_mInt32(doris_scan_range_max_mb, "0");
+CONF_mInt32(doris_scan_range_max_mb, "1024");
 // size of scanner queue between scanner thread and compute thread
 CONF_mInt32(doris_scanner_queue_size, "1024");
 // single read execute fragment row number
diff --git a/regression-test/suites/data_model/duplicate/storage/test_dup_tab_char.groovy b/regression-test/suites/data_model/duplicate/storage/test_dup_tab_char.groovy
index c23d7d2c0c..fb48b53b88 100644
--- a/regression-test/suites/data_model/duplicate/storage/test_dup_tab_char.groovy
+++ b/regression-test/suites/data_model/duplicate/storage/test_dup_tab_char.groovy
@@ -47,13 +47,13 @@ PROPERTIES (
        ('e1','e2','e3','e4')
 """
 
-    qt_read_single_column_1 "select city from ${table1} where city in ('a1','e1')"
-    qt_read_single_column_2 "select city from ${table1} where city not in ('a1','e1')"
+    qt_read_single_column_1 "select city from ${table1} where city in ('a1','e1') order by city"
+    qt_read_single_column_2 "select city from ${table1} where city not in ('a1','e1') order by city"
     qt_read_single_column_3 "select city from ${table1} where city='a1'"
     qt_read_single_column_4 "select city from ${table1} where city!='a1'"
 
-    qt_read_multiple_column_1 "select * from ${table1} where city in ('a1','e1')"
-    qt_read_multiple_column_2 "select * from ${table1} where city not in ('a1','e1')"
+    qt_read_multiple_column_1 "select * from ${table1} where city in ('a1','e1') order by city"
+    qt_read_multiple_column_2 "select * from ${table1} where city not in ('a1','e1') order by city"
     qt_read_multiple_column_3 "select * from ${table1} where city='a1'"
     qt_read_multiple_column_4 "select * from ${table1} where city!='a1'"
 
diff --git a/regression-test/suites/data_model/duplicate/storage/test_dup_tab_char_nullable.groovy b/regression-test/suites/data_model/duplicate/storage/test_dup_tab_char_nullable.groovy
index fbdb4b78be..e99705a0e3 100644
--- a/regression-test/suites/data_model/duplicate/storage/test_dup_tab_char_nullable.groovy
+++ b/regression-test/suites/data_model/duplicate/storage/test_dup_tab_char_nullable.groovy
@@ -51,13 +51,13 @@ PROPERTIES (
 """
     sql "set enable_vectorized_engine = true"
 
-    qt_read_single_column_1 "select city from ${table1} where city in ('a1','e1')"
-    qt_read_single_column_2 "select city from ${table1} where city not in ('a1','e1')"
+    qt_read_single_column_1 "select city from ${table1} where city in ('a1','e1') order by city"
+    qt_read_single_column_2 "select city from ${table1} where city not in ('a1','e1') order by city"
     qt_read_single_column_3 "select city from ${table1} where city='a1'"
     qt_read_single_column_4 "select city from ${table1} where city!='a1'"
 
-    qt_read_multiple_column_1 "select * from ${table1} where city in ('a1','e1')"
-    qt_read_multiple_column_2 "select * from ${table1} where city not in ('a1','e1')"
+    qt_read_multiple_column_1 "select * from ${table1} where city in ('a1','e1') order by city"
+    qt_read_multiple_column_2 "select * from ${table1} where city not in ('a1','e1') order by city"
     qt_read_multiple_column_3 "select * from ${table1} where city='a1'"
     qt_read_multiple_column_4 "select * from ${table1} where city!='a1'"
 


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