bug: surprising semantics for ibis.random()
expressions
#8055
Labels
bug
Incorrect behavior inside of ibis
ibis.random()
expressions
#8055
What happened?
I am not sure if this is a bug or not, but if it is not, at least the docstring for
ibis.random()
could clarify the expected semantics.Consider the following:
What I find surprising:
r_a
instance for bothrandom_a
andrandom_b
columns, their values are not the same;r_a
instance to order the table, therandom_a
column values are not sorted in increasing order.random_c
on the other hand has identical values withrandom_a
as expected.I would have expected the above results to happen with independent instances of
ibis.random()
, that is with the following snippet where all column values and ordering as explicitly made independent:Related: #8054.
What version of ibis are you using?
7.2.0
What backend(s) are you using, if any?
DuckDB
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: