We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aae2902 commit 41ce94bCopy full SHA for 41ce94b
bigframes/core/compile/sqlglot/scalar_compiler.py
@@ -185,7 +185,10 @@ def _register(
185
186
@scalar_op_compiler.register_unary_op(numeric_ops.isnanornull_op)
187
def isnanornull(arg: TypedExpr) -> sge.Expression:
188
- return sge.Or(this=sge.IsNan(this=arg.expr), right=sge.IsNull(this=arg.expr))
+ return sge.Or(
189
+ this=sge.IsNan(this=arg.expr),
190
+ right=sge.Is(this=arg.expr, expression=sge.Null()),
191
+ )
192
193
194
@scalar_op_compiler.register_unary_op(numeric_ops.isfinite_op)
0 commit comments