Skip to content

Commit

Permalink
[fix](regression) fix compaction_width_array_column case (apache#37664)
Browse files Browse the repository at this point in the history
  • Loading branch information
luwei16 authored Jul 12, 2024
1 parent 94ffcb5 commit a60bb80
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
12 changes: 12 additions & 0 deletions regression-test/suites/compaction/ddl/column_witdh_array.sql
Original file line number Diff line number Diff line change
@@ -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"
)
Original file line number Diff line number Diff line change
@@ -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 "|"
)

0 comments on commit a60bb80

Please sign in to comment.