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
Would changing ibis.ifelse(table_expr[name], 1, 0).cast("boolean") to something like ibis.case().when(x.isnull(), ibis.null()).when(x, 1).else_(0).end() be the right direction?
Ok, to be honest I don't use mssql so I'm not motivated to fix this myself. Feel free to close or move to backlog or whatever you think is best. Thanks!
What happened?
Generated SQL:
which evaluates to 0, not None.
This is caused by
ibis/ibis/backends/mssql/__init__.py
Lines 575 to 588 in 4e7a00c
I discovered this in #9097, but I don't want to have to fix it there.
What version of ibis are you using?
main
What backend(s) are you using, if any?
mssql
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: