Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: move iceberg stateful tests #10144

Merged
merged 3 commits into from
Feb 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/test_stateful_cluster_linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ runs:
aws --endpoint-url http://127.0.0.1:9900/ s3 cp tests/data s3://testbucket/admin/data --recursive
aws --endpoint-url http://127.0.0.1:9900/ s3 cp tests/data/ontime_200.csv s3://testbucket/admin/data/ontime_200_v1.csv
aws --endpoint-url http://127.0.0.1:9900/ s3 cp tests/data/ontime_200.parquet s3://testbucket/admin/data/ontime_200_v1.parquet
aws --endpoint-url http://127.0.0.1:9900/ s3 cp tests/iceberg_data s3://testbucket/iceberg_data --recursive
aws --endpoint-url http://127.0.0.1:9900/ s3 cp tests/data/iceberg s3://testbucket/iceberg_data --recursive

- name: Run Stateful Tests with Cluster mode (ubuntu-latest only)
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/test_stateful_standalone_linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ runs:
aws --endpoint-url http://127.0.0.1:9900/ s3 cp tests/data s3://testbucket/admin/data --recursive
aws --endpoint-url http://127.0.0.1:9900/ s3 cp tests/data/ontime_200.csv s3://testbucket/admin/data/ontime_200_v1.csv
aws --endpoint-url http://127.0.0.1:9900/ s3 cp tests/data/ontime_200.parquet s3://testbucket/admin/data/ontime_200_v1.parquet
aws --endpoint-url http://127.0.0.1:9900/ s3 cp tests/iceberg_data s3://testbucket/iceberg_data --recursive
aws --endpoint-url http://127.0.0.1:9900/ s3 cp tests/data/iceberg s3://testbucket/iceberg_data --recursive

- name: Run Stateful Tests with Standalone mode (ubuntu-latest only)
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/query/storages/iceberg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ common-storage = { path = "../../../common/storage" }
async-trait = "0.1"
chrono = { workspace = true }
futures = "0.3"
iceberg-rs = { git = "https://github.com/clslaid/iceberg-rs", branch = "feat/v1/manifests" }
iceberg-rs = { git = "https://github.com/datafuse-extras/iceberg-rs" }
itertools = "0.10"
opendal = { workspace = true }
serde = { workspace = true, features = ["derive"] }
Expand Down
File renamed without changes.
18 changes: 18 additions & 0 deletions tests/sqllogictests/suites/base/05_ddl/05_0029_ddl_create_catalog
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
statement ok
DROP CATALOG IF EXISTS ctl;

query T
SHOW CATALOGS;
----
default

statement ok
CREATE CATALOG ctl TYPE=ICEBERG CONNECTION=( URL='fs://tmp' );

query T
SHOW CATALOGS LIKE 'ctl';
----
ctl

statement ok
DROP CATALOG IF EXISTS ctl;