From 4a938b11512e48e479ba59c40b545fdc6c67c18c Mon Sep 17 00:00:00 2001 From: Xiangjin Date: Tue, 10 Dec 2024 16:45:29 +0800 Subject: [PATCH] e2e tests --- e2e_test/source_inline/kafka/avro/ref.slt | 99 ++++++++++++++++++++++- 1 file changed, 95 insertions(+), 4 deletions(-) diff --git a/e2e_test/source_inline/kafka/avro/ref.slt b/e2e_test/source_inline/kafka/avro/ref.slt index f9a09a0e88994..e3659953f6775 100644 --- a/e2e_test/source_inline/kafka/avro/ref.slt +++ b/e2e_test/source_inline/kafka/avro/ref.slt @@ -109,11 +109,102 @@ select (bar).b.y from s; ---- -3 4 5 6 NULL NULL NULL NULL +3 4 5 6 6 5 4 3 -# Parsing of column `bar` fails even with ints because now `schema` is required. -# This will be fully supported in the next PR -# 3 4 5 6 6 5 4 3 + +statement ok +drop source s; + + +system ok +curl -X DELETE "${RISEDEV_SCHEMA_REGISTRY_URL}/subjects/avro-ref-value" + + +system ok +curl -X DELETE "${RISEDEV_SCHEMA_REGISTRY_URL}/subjects/avro-ref-value?permanent=true" + + +system ok +rpk topic delete 'avro-ref' + + +system ok +rpk topic create avro-ref + + +system ok +sr_register avro-ref-value AVRO <