Skip to content

Commit

Permalink
Update kernel/src/scan/data_skipping.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Johnson <[email protected]>
  • Loading branch information
hntd187 and scovich authored Sep 30, 2024
1 parent be6e0d2 commit b7f995e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/src/scan/data_skipping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl DataSkippingFilter {
predicate: &Option<Expr>,
) -> Option<Self> {
static PREDICATE_SCHEMA: LazyLock<DataType> = LazyLock::new(|| {
StructType::new(vec![StructField::new("predicate", DataType::BOOLEAN, true)]).into()
DataType::struct_type(vec![StructField::new("predicate", DataType::BOOLEAN, true)])
});
static STATS_EXPR: LazyLock<Expr> = LazyLock::new(|| Expr::column("add.stats"));
static FILTER_EXPR: LazyLock<Expr> =
Expand Down

0 comments on commit b7f995e

Please sign in to comment.