andygrove commented on code in PR #1600: URL: https://github.com/apache/datafusion-comet/pull/1600#discussion_r2027194598
########## native/spark-expr/src/hash_funcs/utils.rs: ########## @@ -20,7 +20,10 @@ #[macro_export] macro_rules! hash_array { ($array_type: ident, $column: ident, $hashes: ident, $hash_method: ident) => { - let array = $column.as_any().downcast_ref::<$array_type>().unwrap(); + let array = $column + .as_any() + .downcast_ref::<$array_type>() + .expect("downcast failed"); Review Comment: Updated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org