napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Spec.ExecutionPlan

Synopsis

Documentation

applyUpdateStrategies :: MonadIO m => UTCTime -> (SpecTableName -> m Bool) -> History -> RawInterpretedSpec b -> TasksDAG Full b -> m (TasksDAG Table b) #

Evaluates update strategies, TODO: parallelize

tablesForUpdate :: MonadIO m => UTCTime -> (SpecTableName -> m Bool) -> History -> ForcedTablesMap -> ValidatedInterpretedSpec b -> m (Set SpecTableName, TableExecutionReasonMap) #

tablesForUpdate discovers missing spec tables or containing old data, or those who's dependencies have changed, if the table has the appropriate update strategy. TODO: parallelize