Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.1
Description
When you pass a Scalar and a ChunkedArray with 2+ chunks to the or_kleene or and_kleene kernel, it returns all null in the result.
Demonstrating this with the R bindings:
> call_function("or_kleene", Scalar$create(TRUE), ChunkedArray$create(c(T,F,T), c(F,T,F))) ChunkedArray [ [ null, null, null, null, null, null ] ]
Compare to the following which all work as one would expect:
Scalar and ChunkedArray with only one chunk (works as expected):
> call_function("or_kleene", Scalar$create(TRUE), ChunkedArray$create(c(T,F,T))) ChunkedArray [ [ true, true, true ] ]
Scalar and Array (works as expected):
> call_function("or_kleene", Scalar$create(TRUE), Array$create(c(T,F,T))) Array <bool> [ true, true, true ]
Two ChunkedArrays (works as expected):
> call_function("or_kleene", ChunkedArray$create(c(T,NA,T), c(F,F,T)), ChunkedArray$create(c(T,NA,T), c(F,F,T))) ChunkedArray [ [ true, null, true, false, false, true ] ]
Attachments
Issue Links
- links to