You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# for any affected full_history_restatement_only snapshots, we need to widen the intervals being restated to
501
501
# include the whole time range for that snapshot. This requires a call to state to load the full snapshot record,
502
502
# so we only do it if necessary
503
-
iffull_history_restatement_snapshot_ids:= [
503
+
full_history_restatement_snapshot_ids= [
504
504
# FIXME: full_history_restatement_only is just one indicator that the snapshot can only be fully refreshed, the other one is Model.depends_on_self
505
505
# however, to figure out depends_on_self, we have to render all the model queries which, alongside having to fetch full snapshots from state,
506
506
# is problematic in secure environments that are deliberately isolated from arbitrary user code (since rendering a query may require user macros to be present)
507
507
# So for now, these are not considered
508
508
s_id
509
509
fors_id, sinsnapshots_to_restate.items()
510
510
ifs[0].full_history_restatement_only
511
-
]:
511
+
]
512
+
iffull_history_restatement_snapshot_ids:
512
513
# only load full snapshot records that we havent already loaded
0 commit comments