MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / delete_sink_topic

Function delete_sink_topic

test/source-sink-errors/mzcompose.py:535–545  ·  view source on GitHub ↗
(c: Composition, seed: int)

Source from the content-addressed store, hash-verified

533
534
535def delete_sink_topic(c: Composition, seed: int) -> None:
536 c.exec("redpanda", "rpk", "topic", "delete", f"testdrive-sink-topic-{seed}")
537
538 # Write new data to source otherwise nothing will encounter the missing topic
539 c.testdrive(schema() + dedent("""
540 $ kafka-ingest topic=source-topic format=avro schema=${schema}
541 {"f1": "B"}
542
543 > SELECT COUNT(*) FROM source1_tbl;
544 2
545 """))
546
547
548def alter_pg_table(c: Composition) -> None:

Callers 1

mzcompose.pyFile · 0.85

Calls 3

execMethod · 0.80
schemaFunction · 0.70
testdriveMethod · 0.45

Tested by

no test coverage detected