This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new 6db776c26ff branch-4.1: [test](regression) Remove no simdjson flexible
update case #64513 (#64541)
6db776c26ff is described below
commit 6db776c26ff8f67a3b0720a13ea67db214ee89d4
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jun 16 13:26:11 2026 +0800
branch-4.1: [test](regression) Remove no simdjson flexible update case
#64513 (#64541)
Cherry-picked from #64513
Co-authored-by: bobhan1 <[email protected]>
---
.../flexible/test_f_no_simdjson.groovy | 166 ---------------------
1 file changed, 166 deletions(-)
diff --git
a/regression-test/suites/unique_with_mow_p0/flexible/test_f_no_simdjson.groovy
b/regression-test/suites/unique_with_mow_p0/flexible/test_f_no_simdjson.groovy
deleted file mode 100644
index 6997b17a434..00000000000
---
a/regression-test/suites/unique_with_mow_p0/flexible/test_f_no_simdjson.groovy
+++ /dev/null
@@ -1,166 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
-
-import org.apache.doris.regression.suite.ClusterOptions
-
-suite('test_f_no_simdjson', 'docker') {
- // NOTE: This case is the same as test_flexible_partial_update, just set
`enable_simdjson_reader=false`
- // to test code path when not use simdjson
-
- def options = new ClusterOptions()
- options.beConfigs += [
- 'enable_simdjson_reader=false',
- ]
- docker(options) {
- def tableName = "test_f_no_simdjson"
- sql """ DROP TABLE IF EXISTS ${tableName} """
- sql """ CREATE TABLE ${tableName} (
- `k` int(11) NULL,
- `v1` BIGINT NULL,
- `v2` BIGINT NULL DEFAULT "9876",
- `v3` BIGINT NOT NULL,
- `v4` BIGINT NOT NULL DEFAULT "1234",
- `v5` BIGINT NULL
- ) UNIQUE KEY(`k`) DISTRIBUTED BY HASH(`k`) BUCKETS 1
- PROPERTIES(
- "replication_num" = "1",
- "enable_unique_key_merge_on_write" = "true",
- "light_schema_change" = "true",
- "enable_unique_key_skip_bitmap_column" = "true",
- "store_row_column" = "false"); """
-
- def show_res = sql "show create table ${tableName}"
-
assertTrue(show_res.toString().contains('"enable_unique_key_skip_bitmap_column"
= "true"'))
- sql """insert into ${tableName} select number, number, number, number,
number, number from numbers("number" = "6"); """
- qt_sql "select
k,v1,v2,v3,v4,v5,BITMAP_TO_STRING(__DORIS_SKIP_BITMAP_COL__) from ${tableName}
order by k;"
-
-
- streamLoad {
- table "${tableName}"
- set 'format', 'json'
- set 'read_json_by_line', 'true'
- set 'strict_mode', 'false'
- set 'unique_key_update_mode', 'UPDATE_FLEXIBLE_COLUMNS'
- file "test1.json"
- time 20000
- }
- qt_read_json_by_line "select
k,v1,v2,v3,v4,v5,BITMAP_TO_STRING(__DORIS_SKIP_BITMAP_COL__) from ${tableName}
order by k;"
-
- streamLoad {
- table "${tableName}"
- set 'format', 'json'
- set 'strip_outer_array', 'true'
- set 'strict_mode', 'false'
- set 'unique_key_update_mode', 'UPDATE_FLEXIBLE_COLUMNS'
- file "test8.json"
- time 20000
- }
- qt_strip_outer_array "select
k,v1,v2,v3,v4,v5,BITMAP_TO_STRING(__DORIS_SKIP_BITMAP_COL__) from ${tableName}
order by k;"
-
- streamLoad {
- table "${tableName}"
- set 'format', 'json'
- set 'read_json_by_line', 'true'
- set 'json_root', '$.bar[1].value'
- set 'strict_mode', 'false'
- set 'unique_key_update_mode', 'UPDATE_FLEXIBLE_COLUMNS'
- file "test9.json"
- time 20000
- }
- qt_read_json_by_line_json_root "select
k,v1,v2,v3,v4,v5,BITMAP_TO_STRING(__DORIS_SKIP_BITMAP_COL__) from ${tableName}
order by k;"
-
- // !!NOTE!!: will apply `json_root` first, then apply
`strip_outer_array`
- streamLoad {
- table "${tableName}"
- set 'format', 'json'
- set 'strip_outer_array', 'true'
- set 'json_root', '$.bar[1].value'
- set 'strict_mode', 'false'
- set 'unique_key_update_mode', 'UPDATE_FLEXIBLE_COLUMNS'
- file "test10.json"
- time 20000
- }
- qt_strip_outer_array_json_root "select
k,v1,v2,v3,v4,v5,BITMAP_TO_STRING(__DORIS_SKIP_BITMAP_COL__) from ${tableName}
order by k;"
-
-
- // the following cases test when there are rows which don't miss
columns
- tableName = "test_f_no_simdjson_full_cols_false"
- sql """ DROP TABLE IF EXISTS ${tableName} """
- sql """ CREATE TABLE ${tableName} (
- `k` int(11) NULL,
- `v1` BIGINT NULL,
- `v2` BIGINT NULL,
- `v3` BIGINT NULL,
- ) UNIQUE KEY(`k`) DISTRIBUTED BY HASH(`k`) BUCKETS 1
- PROPERTIES(
- "replication_num" = "1",
- "enable_unique_key_merge_on_write" = "true",
- "light_schema_change" = "true",
- "enable_unique_key_skip_bitmap_column" = "true",
- "store_row_column" = "false"); """
-
- show_res = sql "show create table ${tableName}"
-
assertTrue(show_res.toString().contains('"enable_unique_key_skip_bitmap_column"
= "true"'))
- sql """insert into ${tableName} select number, number, number, number
from numbers("number" = "6"); """
- qt_sql "select k,v1,v2,v3,BITMAP_TO_STRING(__DORIS_SKIP_BITMAP_COL__)
from ${tableName};"
-
- streamLoad {
- table "${tableName}"
- set 'format', 'json'
- set 'read_json_by_line', 'true'
- set 'strict_mode', 'false'
- set 'unique_key_update_mode', 'UPDATE_FLEXIBLE_COLUMNS'
- file "test11.json"
- time 20000
- }
- qt_row_1_full "select
k,v1,v2,v3,BITMAP_TO_STRING(__DORIS_SKIP_BITMAP_COL__) from ${tableName} order
by k;"
-
- streamLoad {
- table "${tableName}"
- set 'format', 'json'
- set 'read_json_by_line', 'true'
- set 'strict_mode', 'false'
- set 'unique_key_update_mode', 'UPDATE_FLEXIBLE_COLUMNS'
- file "test12.json"
- time 20000
- }
- qt_row_2_full "select
k,v1,v2,v3,BITMAP_TO_STRING(__DORIS_SKIP_BITMAP_COL__) from ${tableName} order
by k;"
-
- streamLoad {
- table "${tableName}"
- set 'format', 'json'
- set 'read_json_by_line', 'true'
- set 'strict_mode', 'false'
- set 'unique_key_update_mode', 'UPDATE_FLEXIBLE_COLUMNS'
- file "test13.json"
- time 20000
- }
- qt_row_3_full "select
k,v1,v2,v3,BITMAP_TO_STRING(__DORIS_SKIP_BITMAP_COL__) from ${tableName} order
by k;"
-
- // some invisible columns should be ommitted when parsing
- streamLoad {
- table "${tableName}"
- set 'format', 'json'
- set 'read_json_by_line', 'true'
- set 'strict_mode', 'false'
- set 'unique_key_update_mode', 'UPDATE_FLEXIBLE_COLUMNS'
- file "test14.json"
- time 20000
- }
- qt_ommit_invisible_cols "select
k,v1,v2,v3,__DORIS_VERSION_COL__,__DORIS_DELETE_SIGN__,BITMAP_TO_STRING(__DORIS_SKIP_BITMAP_COL__)
from ${tableName} order by k;"
- }
-}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]