You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/12/14 00:13:00 UTC

[jira] [Commented] (AIRFLOW-5049) Wrong src_fmt_configs in bigquery hook are silently ignored instead of an error being thrown

    [ https://issues.apache.org/jira/browse/AIRFLOW-5049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16996024#comment-16996024 ] 

ASF subversion and git services commented on AIRFLOW-5049:
----------------------------------------------------------

Commit e627948749fce8be2393616308545e14e814cf07 in airflow's branch refs/heads/v1-10-test from Diederik Greveling
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=e627948 ]

[AIRFLOW-5049] Add validation for src_fmt_configs in bigquery hook (#5671)

* AIRFLOW-5049 Add validation for src_fmt_configs in bigquery hook

Adds validation for the src_fmt_configs arguments in the bigquery hook. Otherwise wrong src_fmt_configs would be silently ignored which is non-desireable.

* [AIRFLOW-5049] Update - Add validation for src_fmt_configs in bigquery hook

Adds a common method for validating the src_ftm_configs

(cherry picked from commit dd36d90cadde765c6860a4a6bdeb6492a294a685)


> Wrong src_fmt_configs in bigquery hook are silently ignored instead of an error being thrown
> --------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-5049
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5049
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: hooks
>    Affects Versions: 1.10.3
>            Reporter: Diederik Greveling
>            Assignee: Diederik Greveling
>            Priority: Minor
>             Fix For: 1.10.7
>
>
> For the bigquery hook if a wrong config parameter is given forĀ src_fmt_configs it is silently ignored. Instead it would be better if an error is thrown.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)