From 3550f91c7abc1d9c2db35dc82aaaa58ef9e41948 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Mon, 16 Dec 2024 11:06:26 -0500 Subject: [PATCH] chore: fix ast.Attribute construction --- ibis/backends/sql/compilers/bigquery/udf/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibis/backends/sql/compilers/bigquery/udf/core.py b/ibis/backends/sql/compilers/bigquery/udf/core.py index 9cffb420840a2..e4862c9164183 100644 --- a/ibis/backends/sql/compilers/bigquery/udf/core.py +++ b/ibis/backends/sql/compilers/bigquery/udf/core.py @@ -85,7 +85,7 @@ def rewrite_len(node): return ast.Attribute(value=node.args[0], attr="length", ctx=ast.Load()) -@rewrite.register(ast.Call(func=ast.Attribute(attr="append"))) +@rewrite.register(ast.Call(func=ast.Attribute(attr="append", value=None))) def rewrite_append(node): return ast.Call( func=ast.Attribute(value=node.func.value, attr="push", ctx=ast.Load()),