duongcongtoai commented on issue #17445:
URL: https://github.com/apache/datafusion/issues/17445#issuecomment-3410852065
although
```
fn interleave_dictionaries<K: ArrowDictionaryKeyType>(
arrays: &[&dyn Array],
indices: &[(usize, usize)],
) -> Result<ArrayRef, ArrowError> {
let dictionaries: Vec<_> = arrays.iter().map(|x|
x.as_dictionary::<K>()).collect();
if !should_merge_dictionary_values::<K>(&dictionaries, indices.len()) {
return interleave_fallback(arrays, indices);
```
Current `interleave` actually check the function
`should_merge_dictionary_values`, which will returns true if the total value in
the dictionary will overflow, and will try to merge the them, however it is not
the case for for this dataset, and it continue calling interleave_fallback
which cause the panic
--
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]