Skip to content

Commit

Permalink
docs: fix materialization partitions example
Browse files Browse the repository at this point in the history
  • Loading branch information
psFried authored and jgraettinger committed Jul 18, 2023
1 parent 3384432 commit cc38664
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions site/docs/concepts/materialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit cc38664

Please sign in to comment.