-
Notifications
You must be signed in to change notification settings - Fork 595
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ZENOTME
committed
Jun 17, 2024
1 parent
b6f8f46
commit 630bcde
Showing
7 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
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
22 changes: 22 additions & 0 deletions
22
e2e_test/iceberg/test_case/iceberg_sink_no_partition_append_only_table_verify.slt
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,22 @@ | ||
statement ok | ||
CREATE SOURCE iceberg_source | ||
WITH ( | ||
connector = 'iceberg', | ||
s3.endpoint = 'http://127.0.0.1:9301', | ||
s3.region = 'us-east-1', | ||
s3.access.key = 'hummockadmin', | ||
s3.secret.key = 'hummockadmin', | ||
catalog.type = 'storage', | ||
warehouse.path = 's3://icebergdata/demo', | ||
database.name = 'demo_db', | ||
table.name = 'no_partition_append_only_table', | ||
); | ||
|
||
query I | ||
SELECT id from iceberg_source ORDER by id; | ||
---- | ||
1 | ||
2 | ||
3 | ||
4 | ||
5 |
22 changes: 22 additions & 0 deletions
22
e2e_test/iceberg/test_case/iceberg_sink_partition_append_only_table_verify.slt
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,22 @@ | ||
statement ok | ||
CREATE SOURCE iceberg_source | ||
WITH ( | ||
connector = 'iceberg', | ||
s3.endpoint = 'http://127.0.0.1:9301', | ||
s3.region = 'us-east-1', | ||
s3.access.key = 'hummockadmin', | ||
s3.secret.key = 'hummockadmin', | ||
catalog.type = 'storage', | ||
warehouse.path = 's3://icebergdata/demo', | ||
database.name = 'demo_db', | ||
table.name = 'partition_append_only_table', | ||
); | ||
|
||
query I | ||
SELECT id from iceberg_source ORDER by id; | ||
---- | ||
1 | ||
2 | ||
3 | ||
4 | ||
5 |
22 changes: 22 additions & 0 deletions
22
e2e_test/iceberg/test_case/iceberg_sink_range_partition_append_only_table_verify.slt
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,22 @@ | ||
statement ok | ||
CREATE SOURCE iceberg_source | ||
WITH ( | ||
connector = 'iceberg', | ||
s3.endpoint = 'http://127.0.0.1:9301', | ||
s3.region = 'us-east-1', | ||
s3.access.key = 'hummockadmin', | ||
s3.secret.key = 'hummockadmin', | ||
catalog.type = 'storage', | ||
warehouse.path = 's3://icebergdata/demo', | ||
database.name = 'demo_db', | ||
table.name = 'range_partition_append_only_table', | ||
); | ||
|
||
query I | ||
SELECT id from iceberg_source ORDER by id; | ||
---- | ||
1 | ||
2 | ||
3 | ||
4 | ||
5 |
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
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
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