Open rlwolf17 opened 11 months ago
Hi @sryza , is this a bug with dagster_cloud/serverless/io_manager.py?
Are there any workarounds in the meantime? Given this is an issue for us on dagster cloud side only still I am not really sure how to proceed other than to stop using partitions or attempt using a different IO manager if we want to combine non-partitioned and partitioned assets
Seems to be related to this issue: https://github.com/dagster-io/dagster/issues/13290
It appears that the serverless IO manager did not yet receive the fixes mentioned in https://github.com/dagster-io/dagster/issues/13290.
Are there any workarounds in the meantime?
Seeing s3 mentioned in the summary, switching to the s3_io_manager
would likely be the fastest workaround https://docs.dagster.io/deployment/guides/aws#using-s3-for-io-management
Dagster version
1.5.5
What's the issue?
Overview: I have 4 assets with linear dependencies, where the first two are partitioned using a
TimeWindowPartitionsDefinition
. When runningdagster dev
and developing locally, I am able to materialize all assets together in the same run with no issues:However, in my deployment of Dagster Cloud (where I have ensured that dagster version is also 1.5.5) I encounter an error when attempting to materialize the first non-partitioned asset following the upstream partitioned assets: "dagster._check.CheckError: Failure condition: Tried to access partition key for asset 'AssetKey(['cems', 'facilities', 'facilities_s3_standardized_keys'])', but the number of input partitions != 1: 'TimeWindowPartitionsSubset([PartitionKeyRange(start='1995-01-01', end='2023-01-01')])'."
Full stack trace:
What did you expect to happen?
My understanding from reading how non-partitioned and partitioned assets interact together was that the behavior I observed during development was expected. Please let me know if my understand is incorrect or if there is anything I can do on my side to resolve this issue, thanks!
How to reproduce?
Materialize a non-partitioned asset with a time-window partitioned asset as input parameter.
My definitions:
Deployment type
Dagster Cloud
Deployment details
Dagster Serverless Cloud Deployment
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.