Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Dec 13, 2024
1 parent 861ef1d commit 0bc7e82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions native/spark-expr/src/schema_adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use crate::{spark_cast, SparkCastOptions};
use arrow::compute::can_cast_types;
use arrow_array::{new_null_array, Array, RecordBatch, RecordBatchOptions};
use arrow_schema::{DataType, Schema, SchemaRef, TimeUnit};
use arrow_schema::{DataType, Schema, SchemaRef};
use datafusion::datasource::schema_adapter::{SchemaAdapter, SchemaAdapterFactory, SchemaMapper};
use datafusion_common::plan_err;
use datafusion_expr::ColumnarValue;
Expand Down Expand Up @@ -128,7 +128,7 @@ impl SchemaAdapter for SparkSchemaAdapter {
required_schema: Arc::<Schema>::clone(&self.required_schema),
field_mappings,
table_schema: Arc::<Schema>::clone(&self.table_schema),
cast_options,
cast_options: self.cast_options.clone(),
}),
projection,
))
Expand Down

0 comments on commit 0bc7e82

Please sign in to comment.