File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
misc/python/materialize/checks/all_checks Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -198,12 +198,12 @@ def initialize(self) -> Testdrive:
198
198
$ kafka-ingest format=avro key-format=avro topic=upsert-legacy-syntax key-schema=${keyschema} schema=${schema} repeat=10000
199
199
{"key1": "A${kafka-ingest.iteration}"} {"f1": "A${kafka-ingest.iteration}"}
200
200
201
- > CREATE SOURCE upsert_insert
201
+ > CREATE SOURCE upsert_insert_legacy
202
202
FROM KAFKA CONNECTION kafka_conn (TOPIC 'testdrive-upsert-legacy-syntax-${testdrive.seed}')
203
203
FORMAT AVRO USING CONFLUENT SCHEMA REGISTRY CONNECTION csr_conn
204
204
ENVELOPE UPSERT
205
205
206
- > CREATE MATERIALIZED VIEW upsert_insert_view AS SELECT COUNT(DISTINCT key1 || ' ' || f1) FROM upsert_insert ;
206
+ > CREATE MATERIALIZED VIEW upsert_insert_legacy_view AS SELECT COUNT(DISTINCT key1 || ' ' || f1) FROM upsert_insert_legacy ;
207
207
"""
208
208
)
209
209
)
@@ -227,10 +227,10 @@ def validate(self) -> Testdrive:
227
227
return Testdrive (
228
228
dedent (
229
229
"""
230
- > SELECT COUNT(*), COUNT(DISTINCT key1), COUNT(DISTINCT f1) FROM upsert_insert
230
+ > SELECT COUNT(*), COUNT(DISTINCT key1), COUNT(DISTINCT f1) FROM upsert_insert_legacy
231
231
10000 10000 10000
232
232
233
- > SELECT * FROM upsert_insert_view ;
233
+ > SELECT * FROM upsert_insert_legacy_view ;
234
234
10000
235
235
"""
236
236
)
You can’t perform that action at this time.
0 commit comments