forked from apache/doris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](regression) fix compaction_width_array_column case (apache#37664)
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
regression-test/suites/compaction/ddl/column_witdh_array.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
) |
5 changes: 5 additions & 0 deletions
5
regression-test/suites/compaction/ddl/column_witdh_array_load.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "|" | ||
) |