Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

Commit daf4da1

Browse files
authored
fix: update to UDFContext for trans_numeric_udf function (#119)
1 parent 82ee7c6 commit daf4da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibis_bigquery/datatypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,6 @@ def trans_numeric(t, context):
111111
return "NUMERIC"
112112

113113

114-
@ibis_type_to_bigquery_type.register(dt.Decimal, TypeTranslationContext)
114+
@ibis_type_to_bigquery_type.register(dt.Decimal, UDFContext)
115115
def trans_numeric_udf(t, context):
116116
raise TypeError("Decimal types are not supported in BigQuery UDFs")

0 commit comments

Comments
 (0)