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 2061d27 commit cd4af89Copy full SHA for cd4af89
bigframes/core/compile/sqlglot/expressions/bool_ops.py
@@ -60,6 +60,8 @@ def _(left: TypedExpr, right: TypedExpr) -> sge.Expression:
60
61
@register_binary_op(ops.xor_op)
62
def _(left: TypedExpr, right: TypedExpr) -> sge.Expression:
63
+ # For XOR, cast NULL operands to BOOLEAN to ensure the resulting expression
64
+ # maintains the boolean data type.
65
left_expr = left.expr
66
left_dtype = left.dtype
67
if left_expr == sge.null():
0 commit comments