Skip to content

Commit e601d1b

Browse files
appease mypy
1 parent 1a3d311 commit e601d1b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bigframes/core/compile/sqlglot/expressions/comparison_ops.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,9 @@ def _(expr: TypedExpr, op: ops.IsInOp) -> sge.Expression:
4848
value = int(value)
4949
values.append(sge.convert(value))
5050

51+
sg_lexpr: sge.Expression = expr.expr
5152
if expr.dtype == dtypes.BOOL_DTYPE and must_upcast_bools:
5253
sg_lexpr = sge.cast(expr.expr, "INT64")
53-
else:
54-
sg_lexpr = expr.expr
5554

5655
if op.match_nulls:
5756
contains_nulls = any(_is_null(value) for value in op.values)

0 commit comments

Comments
 (0)