Channels
dagster-de
dagster-cube
gigs-freelance
dagster-wandb
dagster-machine-learning
dagster-bigquery
tools
dagster-dask
dagster-snowflake
dagster-releases
data-platform-design
events
dagster-serverless
dagster-noteable
introductions
dagster-airflow
dagster-cloud
random
dagster-dbt
faq-read-me-before-posting
dagster-airbyte
dagster-spatial
dagster-support
announcements
github-discussions
豆瓣酱帮
dagster-feedback
dagstereo
dagster-ecs
dagster-kubernetes
jobs
dagster-showcase
Powered by
Title
y
Yang
12/19/2022, 4:41 PM
Hello, I have a question about partitions. How do I make a custom partition definition where a downstream asset needs 2 partitioned inputs. Eg. downstream is a partitioned asset for 2021 and required upstream asset for 2021 and 2020
👀 1
bump
m
Matt Clarke
12/19/2022, 10:24 PM
I don’t think you’d want a custom partition. You can use a TimeWindowPartitionMapping to achieve this.
https://docs.dagster.io/_apidocs/partitions#dagster.TimeWindowPartitionMapping
You can search for “trailing window” in the slack channel to find a few relevant examples of people working through this issue
y
Yang
12/19/2022, 10:49 PM
oh ok!
3 Views
#dagster-support
Join Slack