bigqueryoperator not working with udf

22 views
Skip to first unread message

rich...@rezco.co.za

unread,
May 25, 2018, 5:45:43 AM5/25/18
to composer-users
Hi there 

I'm trying to run a basic bigquery operator task which uses a user defined function (UDF).

The example comes from https://cloud.google.com/bigquery/docs/reference/standard-sql/user-defined-functions and runs perfectly in BigQuery. 

However when I upload to composer I get "Function not found: multiplyInputs (see full log and python script attached) 

The udf_config field of BigQueryOperator requires a list, so I defined my UDF as a list containing one string - not sure if this is correct?

Any help would be highly appreciated. 

udf_example_log.txt
UDF_example.py
Reply all
Reply to author
Forward
0 new messages