Skip to content

Commit 7c7327f

Browse files
submit to mypy
1 parent 615f486 commit 7c7327f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bigframes/core/compile/ibis_compiler/scalar_op_registry.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,9 @@ def array_reduce_op_impl(x: ibis_types.Value, op: ops.ArrayReduceOp):
12171217
import bigframes.core.compile.ibis_compiler.aggregate_compiler as agg_compilers
12181218

12191219
return typing.cast(ibis_types.ArrayValue, x).reduce(
1220-
lambda arr_vals: agg_compilers.compile_unary_agg(op.aggregation, arr_vals)
1220+
lambda arr_vals: agg_compilers.compile_unary_agg(
1221+
op.aggregation, typing.cast(ibis_types.Column, arr_vals)
1222+
)
12211223
)
12221224

12231225

0 commit comments

Comments
 (0)