You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "eejbyfeldt (via GitHub)" <gi...@apache.org> on 2024/10/31 13:18:33 UTC
[I] null value causes panic in array_resize [datafusion]
eejbyfeldt opened a new issue, #13200:
URL: https://github.com/apache/datafusion/issues/13200
### Describe the bug
Panic in function array_resize when being passed a null value.
### To Reproduce
```
DataFusion CLI v42.1.0
> select array_resize(arrow_cast(NULL, 'List(Int8)'), 1);
thread 'main' panicked at /home/eejbyfeldt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/arrow-data-53.2.0/src/transform/primitive.rs:31:43:
range end index 1 out of range for slice of length 0
```
### Expected behavior
It should return a null value instead.
### Additional context
_No response_
--
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-unsubscribe@datafusion.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] null value causes panic in array_resize [datafusion]
Posted by "jayzhan211 (via GitHub)" <gi...@apache.org>.
jayzhan211 closed issue #13200: null value causes panic in array_resize
URL: https://github.com/apache/datafusion/issues/13200
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org