dadepo commented on issue #8866: URL: https://github.com/apache/arrow-datafusion/issues/8866#issuecomment-1913655589
So I updated the reproduction repo to implement `ScalarUDFImpl` and I fashioned the implementation after the built in random function. See the diff here https://github.com/dadepo/df-repro/commit/d97cf9c05e2c8550dbab22da46119dc87e551a9c When I run this, it fails: ``` Running `target/debug/df-repro` +-------+------+-----+-------+ | index | uint | int | float | +-------+------+-----+-------+ | 1 | 2 | -2 | 1.0 | | 2 | 3 | 3 | 3.3 | | 3 | | | | +-------+------+-----+-------+ [src/main.rs:70] &args[0] = Scalar( NULL, ) thread 'main' panicked at src/main.rs:74:25: Opsies stack backtrace: 0: rust_begin_unwind at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5 ... ``` And it does look like a `ColumnarValue::Scalar(..)` is being returned instead of `ColumnarValue::Array(..)` -- 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]
