From e306428fd9d437fb7c4adcc20f14afd360fe8894 Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Sun, 8 Oct 2023 15:40:26 -0400 Subject: [PATCH] Add another example to help Signed-off-by: Matt Lord --- .../vtctldclient/command/vreplication/materialize/create.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/go/cmd/vtctldclient/command/vreplication/materialize/create.go b/go/cmd/vtctldclient/command/vreplication/materialize/create.go index 461dc554980..09799edfd44 100644 --- a/go/cmd/vtctldclient/command/vreplication/materialize/create.go +++ b/go/cmd/vtctldclient/command/vreplication/materialize/create.go @@ -57,6 +57,11 @@ should be copied as-is from the source keyspace. Here's an example value for tab "target_table": "customer_one_email", "source_expression": "select email from customer where customer_id=1" }, + { + "target_table": "states", + "source_expression": "select * from states", + "create_ddl": "copy" + }, { "target_table": "sales_by_sku", "source_expression": "select sku, count(*) as orders, sum(price) as revenue from corder group by sku",