You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (JIRA)" <ji...@apache.org> on 2018/12/09 22:30:00 UTC

[jira] [Resolved] (AIRFLOW-3438) BigQueryOperator should default udf_config to None instead of false.

     [ https://issues.apache.org/jira/browse/AIRFLOW-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kaxil Naik resolved AIRFLOW-3438.
---------------------------------
    Resolution: Fixed

Resolved by https://github.com/apache/incubator-airflow/pull/4274

> BigQueryOperator should default udf_config to None instead of false.
> --------------------------------------------------------------------
>
>                 Key: AIRFLOW-3438
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3438
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: operators
>            Reporter: Luka Draksler
>            Assignee: Kaxil Naik
>            Priority: Major
>              Labels: easyfix
>             Fix For: 1.10.2
>
>
> BigQueryOperator currently sets default value of udf_config to False. This no longer works due to [https://github.com/apache/incubator-airflow/pull/3733] validating the type of that parameter as either None or list. Default value needs to be changed to None.
> The line in question added in the commit referenced above
> {code:java}
> (udf_config, 'userDefinedFunctionResources', None, list),
> {code}
>  
>  
> Note, other users of the hook may potentially encounter the same issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)