You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT
(
-- IS NULL column expression should appear first. :-(
rank() OVER (ORDER BY t0.`bool_col`ASC, t0.`bool_col` IS NULLASC) -1
) AS`MinRank`,
t0.`bool_col`FROM swast-scratch._63cfa399614a54153cc386c27d6c0c6fdb249f9e.ibis_pandas_memtable_ctis2cnl65dplgtuqh7eqozqwy AS t0
What version of ibis are you using?
7.2.0
What backend(s) are you using, if any?
BigQuery
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
…ubsequent expressions are duplicated (#7943)
## Description of changes
This PR fixes an issue where duplicate window expressions were given the
position of the new (duplicated value)
of the expression, rather than preserving the original order.
This was because we were iterating over the new keys first and putting
those expressions into a `dict`.
BY iterating over the old keys first, we preserve the original order.
## Issues closed
Closes#7940.
What happened?
This works fine in 7.1.0:
In 7.2.0, the IS NULL column expression appears second, which changes where NULL values appear in the ranking:
What version of ibis are you using?
7.2.0
What backend(s) are you using, if any?
BigQuery
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: