File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/core/src/operations/write Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ pub mod writer;
3434use arrow_schema:: Schema ;
3535pub use configs:: WriterStatsConfig ;
3636use datafusion:: execution:: SessionStateBuilder ;
37- use generated_columns:: { add_generated_columns , add_missing_generated_columns , should_gc } ;
37+ use generated_columns:: { able_to_gc , add_generated_columns , add_missing_generated_columns } ;
3838use metrics:: { WriteMetricExtensionPlanner , SOURCE_COUNT_ID , SOURCE_COUNT_METRIC } ;
3939use std:: collections:: HashMap ;
4040use std:: str:: FromStr ;
@@ -450,7 +450,7 @@ impl std::future::IntoFuture for WriteBuilder {
450450 let mut missing_gen_col = None ;
451451 let mut source = DataFrame :: new ( state. clone ( ) , this. input . unwrap ( ) . as_ref ( ) . clone ( ) ) ;
452452 if let Some ( snapshot) = & this. snapshot {
453- if should_gc ( snapshot) ? {
453+ if able_to_gc ( snapshot) ? {
454454 let generated_col_expressions = this
455455 . snapshot
456456 . as_ref ( )
You can’t perform that action at this time.
0 commit comments