Skip to content

Commit c33e98c

Browse files
hntd187scovich
andauthored
Update kernel/src/engine/arrow_expression.rs
Co-authored-by: Ryan Johnson <[email protected]>
1 parent 6091137 commit c33e98c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/src/engine/arrow_expression.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ fn column_as_struct<'a>(
194194
column: &Option<&'a Arc<dyn Array>>,
195195
) -> Result<&'a StructArray, ArrowError> {
196196
let c = column.ok_or(ArrowError::SchemaError(format!("No such column: {}", name)))?;
197-
if let arrow_schema::DataType::Map(_, _) = c.data_type() {
197+
if let arrow_schema::DataType::Map(..) = c.data_type() {
198198
Ok(c.as_map_opt()
199199
.ok_or(ArrowError::SchemaError(format!("{} is not a map", name)))?
200200
.entries())

0 commit comments

Comments
 (0)