@@ -186,7 +186,6 @@ use crate::error::AdapterError;
186
186
use crate :: explain:: insights:: PlanInsightsContext ;
187
187
use crate :: explain:: optimizer_trace:: { DispatchGuard , OptimizerTrace } ;
188
188
use crate :: metrics:: Metrics ;
189
- use crate :: optimize:: dataflow_expiration:: time_dependence;
190
189
use crate :: optimize:: dataflows:: {
191
190
dataflow_import_id_bundle, ComputeInstanceSnapshot , DataflowBuilder ,
192
191
} ;
@@ -2667,9 +2666,7 @@ impl Coordinator {
2667
2666
( optimized_plan, global_lir_plan)
2668
2667
} ;
2669
2668
2670
- let ( mut physical_plan, metainfo) = global_lir_plan. unapply ( ) ;
2671
- physical_plan. time_dependence =
2672
- time_dependence ( self . catalog ( ) , physical_plan. import_ids ( ) , None ) ;
2669
+ let ( physical_plan, metainfo) = global_lir_plan. unapply ( ) ;
2673
2670
let metainfo = {
2674
2671
// Pre-allocate a vector of transient GlobalIds for each notice.
2675
2672
let notice_ids = std:: iter:: repeat_with ( || self . allocate_transient_id ( ) )
@@ -2728,12 +2725,7 @@ impl Coordinator {
2728
2725
( optimized_plan, global_lir_plan)
2729
2726
} ;
2730
2727
2731
- let ( mut physical_plan, metainfo) = global_lir_plan. unapply ( ) ;
2732
- physical_plan. time_dependence = time_dependence (
2733
- self . catalog ( ) ,
2734
- physical_plan. import_ids ( ) ,
2735
- mv. refresh_schedule . clone ( ) ,
2736
- ) ;
2728
+ let ( physical_plan, metainfo) = global_lir_plan. unapply ( ) ;
2737
2729
let metainfo = {
2738
2730
// Pre-allocate a vector of transient GlobalIds for each notice.
2739
2731
let notice_ids = std:: iter:: repeat_with ( || self . allocate_transient_id ( ) )
@@ -2762,12 +2754,8 @@ impl Coordinator {
2762
2754
. catalog ( )
2763
2755
. resolve_full_name ( entry. name ( ) , None )
2764
2756
. to_string ( ) ;
2765
- let ( optimized_plan, mut physical_plan, metainfo) = self
2757
+ let ( optimized_plan, physical_plan, metainfo) = self
2766
2758
. optimize_create_continual_task ( ct, id, self . owned_catalog ( ) , debug_name) ?;
2767
- // Filter our own id as it is not known yet.
2768
- let ids = physical_plan. import_ids ( ) . filter ( |x| * x != id) ;
2769
- physical_plan. time_dependence = time_dependence ( self . catalog ( ) , ids, None ) ;
2770
-
2771
2759
let catalog = self . catalog_mut ( ) ;
2772
2760
catalog. set_optimized_plan ( id, optimized_plan) ;
2773
2761
catalog. set_physical_plan ( id, physical_plan) ;
@@ -3104,7 +3092,7 @@ impl Coordinator {
3104
3092
catalog. expire ( ) . await ;
3105
3093
}
3106
3094
}
3107
- . boxed_local ( )
3095
+ . boxed_local ( )
3108
3096
}
3109
3097
3110
3098
/// Obtain a read-only Catalog reference.
0 commit comments