dadepo commented on issue #8866: URL: https://github.com/apache/arrow-datafusion/issues/8866#issuecomment-1892630806
@alamb I updated to include native random function https://github.com/dadepo/df-repro/commit/00feaed1069329680ffacc3ecd324fec9f2c2d45 and running that I get ``` +---------------+--------------------+ | random_normal | native_random | +---------------+--------------------+ | 82.0 | 0.2617618435183655 | | 82.0 | 0.3157177219693452 | | 82.0 | 0.3350644908486391 | +---------------+--------------------+ ``` Which indicates that, this works fine with native random function. Could it also be the way UDF's work? Because from my understanding when a udf has no arguments, when called, the arguments it is defined with is set to: ``` [ NullArray(1), ] ``` ie one Array, regardless of the number of rows in the table. Could this be a factor? -- 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]
