Automation Condition and AssetSpec weird behaviour #24741
Replies: 2 comments 3 replies
-
As a workaround I could change AssetSpec assets to regular assets but that wouldn't fix dbt source assets by default. I would need to create additional assets to accommodate dbt source assets. A lot of changes... |
Beta Was this translation helpful? Give feedback.
-
Since you can report materializations for external assets
Modifying the automation condition is one way to deal with this problem, such as by removing the
or replacing it with a variant that ignores certain keys
The |
Beta Was this translation helpful? Give feedback.
-
Hi!
I have some
AssetSpec
assets which have downstream assets.I'm trying to migrate from
AutomaterializePolicy
toAutomationCondition
and have run into an issue.Simplified example of the flow:
For some reason
AutomationCondition
expectsAssetSpec
to be materialized and thus downstream doesn't start whereasAutomaterializePolicy
starts a downstream run.Downstream has 6 partitions and in the evaluation you can see that 6 partitions are missing which is really weird since
some_external_table
isn't partitioned. It seems like a bugPicture of the evaluation:
Is there a workaround?
Beta Was this translation helpful? Give feedback.
All reactions