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
495
+
# include the whole time range for that snapshot. This requires a call to state to load the full snapshot record,
496
+
# so we only do it if necessary
497
+
iffull_history_restatement_snapshot_ids:= [
498
+
# 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
499
+
# however, to figure out depends_on_self, we have to render all the model queries which, alongside having to fetch full snapshots from state,
500
+
# is problematic in secure environments that are deliberately isolated from arbitrary user code (since rendering a query may require user macros to be present)
501
+
# So for now, these are not considered
502
+
s_id
503
+
fors_id, sinsnapshots_to_restate.items()
504
+
ifs[0].full_history_restatement_only
505
+
]:
506
+
# only load full snapshot records that we havent already loaded
0 commit comments