Is this a bug? time-partitioned lazy assets don't ...
# ask-community
u
Is this a bug? time-partitioned lazy assets don't initiate materialization of their parent non-partitioned lazy assets
Copy code
@asset(auto_materialize_policy=AutoMaterializePolicy.lazy())
def parent_asset():
    pass

@asset(auto_materialize_policy=AutoMaterializePolicy.lazy(),
       freshness_policy=FreshnessPolicy(maximum_lag_minutes=1, cron_schedule="* * * * *"))
def child_asset(parent_asset):
    pass
In this configs,
child_asset
and
parent_asset
are materialized every minutes as expected.
Copy code
@asset(auto_materialize_policy=AutoMaterializePolicy.lazy())
def parent_asset():
    pass

@asset(auto_materialize_policy=AutoMaterializePolicy.lazy(),
       partitions_def=HourlyPartitionsDefinition(start_date="2023-06-25-16:00"),
       freshness_policy=FreshnessPolicy(maximum_lag_minutes=60, cron_schedule="* * * * *"))
def partitioned_child_asset(parent_asset):
    pass
But If I partition the child asset, none of the assets are materialized. Digit says no materialization conditions met. Is it bug? Or am I missing something? dagster version is 1.3.11
s
Hi Eunchol, just want you to know I’ve seen this-- don’t know the answer off the top of my head so it’s taking me a while to find out/find an engineer who knows.
👀 1
cc @owen