This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new fa4d885487f [fix](regression) fix compaction_width_array_column case
(#37664) (#40045)
fa4d885487f is described below
commit fa4d885487f5c16683ee23bf16729b3cc0f3da97
Author: Luwei <[email protected]>
AuthorDate: Wed Aug 28 18:13:42 2024 +0800
[fix](regression) fix compaction_width_array_column case (#37664) (#40045)
pick master #37664
---
regression-test/suites/compaction/ddl/column_witdh_array.sql | 12 ++++++++++++
.../suites/compaction/ddl/column_witdh_array_load.sql | 5 +++++
2 files changed, 17 insertions(+)
diff --git a/regression-test/suites/compaction/ddl/column_witdh_array.sql
b/regression-test/suites/compaction/ddl/column_witdh_array.sql
new file mode 100644
index 00000000000..b51345a2084
--- /dev/null
+++ b/regression-test/suites/compaction/ddl/column_witdh_array.sql
@@ -0,0 +1,12 @@
+CREATE TABLE column_witdh_array (
+ street VARCHAR NOT NULL,
+ streetaddress VARCHAR NOT NULL,
+ k1 JSON NULL,
+ k2 JSON NULL
+) ENGINE=OLAP
+DUPLICATE KEY(street, streetaddress)
+DISTRIBUTED BY HASH(street) BUCKETS 2
+PROPERTIES (
+ "replication_num" = "1",
+ "disable_auto_compaction" = "true"
+)
diff --git a/regression-test/suites/compaction/ddl/column_witdh_array_load.sql
b/regression-test/suites/compaction/ddl/column_witdh_array_load.sql
new file mode 100644
index 00000000000..d451c2449d0
--- /dev/null
+++ b/regression-test/suites/compaction/ddl/column_witdh_array_load.sql
@@ -0,0 +1,5 @@
+LOAD LABEL ${loadLabel} (
+ DATA
INFILE("s3://${s3BucketName}/regression/compaction/large_data_line/large_data_line.*.csv")
+ INTO TABLE ${table_name}
+ COLUMNS TERMINATED BY "|"
+)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]