Skip to content

Commit

Permalink
refine
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzl25 committed Aug 27, 2024
1 parent 9ff563b commit e7c6ab7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions e2e_test/sink/iceberg_sink.slt
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
statement ok
CREATE TABLE t6 (v1 int primary key, v2 bigint, v3 varchar);

statement ok
CREATE MATERIALIZED VIEW mv6 AS SELECT * FROM t6;

statement ok
CREATE SECRET iceberg_s3_access_key WITH (
backend = 'meta'
Expand All @@ -15,7 +12,7 @@ CREATE SECRET iceberg_s3_secret_key WITH (
) as 'hummockadmin';

statement ok
CREATE SINK s6 AS select mv6.v1 as v1, mv6.v2 as v2, mv6.v3 as v3 from mv6 WITH (
CREATE SINK s6 from t6 WITH (
connector = 'iceberg',
type = 'upsert',
primary_key = 'v1',
Expand Down Expand Up @@ -84,8 +81,5 @@ DROP SOURCE iceberg_demo_source;
statement ok
DROP SINK s6;

statement ok
DROP MATERIALIZED VIEW mv6;

statement ok
DROP TABLE t6;

0 comments on commit e7c6ab7

Please sign in to comment.