Skip to content

Commit

Permalink
fix cast
Browse files Browse the repository at this point in the history
Signed-off-by: Dharan Aditya <[email protected]>
  • Loading branch information
dharanad committed Jan 31, 2025
1 parent 655c960 commit 5fc4831
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion native/core/src/execution/planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,11 @@ impl PhysicalPlanner {
args,
DataType::UInt64,
));
Ok(array_has_any_expr)
Ok(Arc::new(Cast::new(
array_has_any_expr,
DataType::Int64,
SparkCastOptions::new_without_timezone(EvalMode::Legacy, false),
)))
}
expr => Err(ExecutionError::GeneralError(format!(
"Not implemented: {:?}",
Expand Down

0 comments on commit 5fc4831

Please sign in to comment.