Jacob Marcil
06/26/2023, 4:34 PMJustin Taylor
06/26/2023, 4:41 PMsean
06/26/2023, 5:42 PMsean
06/30/2023, 2:34 PMJacob Marcil
06/30/2023, 2:36 PMrematerialized
sorry for the confusion.
And oh thank you I didn’t see those comments at all pop out in slack.
I”ll look at the propose solution now. Thank you very much.Jacob Marcil
06/30/2023, 2:44 PMmaterialized
group of parent asset exist or not.
My question was more. If the client
I’m using. Isn’t able to query more than X days in the past. is it possible to restrict users from rematerializing
assets that are x days
in the past from now.
I know that I can restrict that in the client
itself. Like return
an error
in the partition I’m trying to rebuild is older than x days
. But I was wondering if that could be done in Dagster itself.
Like a way to blury the materialization or something. Something that tell me, than this partition is completed
(green) or not
(red), but there’s no way for me to rebuild it by clicking on materialize
.sean
06/30/2023, 2:48 PM@asset(partitions_def=DailyPartitionsDefinition(start_date=datetime(2020, 1, 1))
def my_asset(context: AssetExecutionContext):
return client.query(context.partition_key)
And your question is whether it is possible to block any attempts to materialize certain partitions (those older than N days). Is that right?Jacob Marcil
06/30/2023, 2:48 PMsean
06/30/2023, 2:50 PMJacob Marcil
06/30/2023, 2:51 PMimmutable
records that I get from dagster, shouldn’t be replayable IMO.
But having the partitions setup so I know if I miss any is still very usefull.
Thank @sean I’ll fill a feature request 🙂
Have a great day.