pepijnve commented on PR #18183: URL: https://github.com/apache/datafusion/pull/18183#issuecomment-3568150458
I did a quick test by merging `main` into your branch. [`case_with_expr_dictionary`](https://github.com/apache/datafusion/blob/main/datafusion/physical-expr/src/expressions/case.rs#L1550) panics with the following stack trace. Not sure if this is a test setup issue or a code issue yet. ``` ... 3: core::option::expect_failed at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/option.rs:2178:5 4: core::option::Option<T>::expect at /Users/pepijn/.rustup/toolchains/1.91.0-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/option.rs:965:21 5: arrow_array::cast::AsArray::as_bytes at /Users/pepijn/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-array-57.0.0/src/cast.rs:848:29 6: <datafusion_physical_expr::expressions::case::literal_lookup_table::bytes_like_lookup_table::GenericBytesHelper<T> as datafusion_physical_expr::expressions::case::literal_lookup_table::bytes_like_lookup_table::BytesMapHelperWrapperTrait>::array_to_iter at ./src/expressions/case/literal_lookup_table/bytes_like_lookup_table.rs:48:18 7: <datafusion_physical_expr::expressions::case::literal_lookup_table::bytes_like_lookup_table::BytesLikeIndexMap<Helper> as datafusion_physical_expr::expressions::case::literal_lookup_table::WhenLiteralIndexMap>::map_to_when_indices at ./src/expressions/case/literal_lookup_table/bytes_like_lookup_table.rs:247:26 8: datafusion_physical_expr::expressions::case::literal_lookup_table::LiteralLookupTable::map_keys_to_values at ./src/expressions/case/literal_lookup_table/mod.rs:211:14 9: datafusion_physical_expr::expressions::case::CaseExpr::with_lookup_table at ./src/expressions/case.rs:1333:35 10: <datafusion_physical_expr::expressions::case::CaseExpr as datafusion_physical_expr_common::physical_expr::PhysicalExpr>::evaluate at ./src/expressions/case.rs:1438:62 11: datafusion_physical_expr::expressions::case::tests::case_with_expr_dictionary at ./src/expressions/case.rs:1643:14 12: datafusion_physical_expr::expressions::case::tests::case_with_expr_dictionary::{{closure}} ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
