From cc386640c35211e86b670295896540c3a4af3319 Mon Sep 17 00:00:00 2001 From: Phil Date: Tue, 27 Jun 2023 09:56:36 -0400 Subject: [PATCH] docs: fix materialization partitions example --- site/docs/concepts/materialization.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/site/docs/concepts/materialization.md b/site/docs/concepts/materialization.md index 8325b49140..192d545497 100644 --- a/site/docs/concepts/materialization.md +++ b/site/docs/concepts/materialization.md @@ -223,13 +223,14 @@ materializations: acmeCo/example/database-views: endpoint: ... bindings: - - source: acmeCo/anvil/orders + # The source can be specified as an object, which allows setting a partition selector. + - source: + name: acmeCo/anvil/orders + # Process partitions where "Coyote" is the customer. + partitions: + include: + customer: [Coyote] resource: { table: coyote_orders } - - # Process partitions where "Coyote" is the customer. - partitions: - include: - customer: [Coyote] ``` [Learn more about partition selectors](./advanced/projections.md#partition-selectors).