Skip to content

Commit 1875637

Browse files
committed
change the function name
Signed-off-by: JustinRush80 <[email protected]>
1 parent b82914f commit 1875637

File tree

1 file changed

+2
-2
lines changed
  • crates/core/src/operations/write

1 file changed

+2
-2
lines changed

crates/core/src/operations/write/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub mod writer;
3434
use arrow_schema::Schema;
3535
pub use configs::WriterStatsConfig;
3636
use 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};
3838
use metrics::{WriteMetricExtensionPlanner, SOURCE_COUNT_ID, SOURCE_COUNT_METRIC};
3939
use std::collections::HashMap;
4040
use 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()

0 commit comments

Comments
 (0)