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

Ben Marengo updated AIRFLOW-3249:
---------------------------------
    Description: 
following the implementation of AIRFLOW-3207 (global option to stop task 
pushing result to xcom), i did a quick search around to find out which 
operators have a custom implementation of this {{do_xcom_push}} flag:

||operator||instance var||__init__ arg||will change be backward comp?||
|DatabricksRunNowOperator|do_xcom_push | do_xcom_push|(/)|
|DatabricksSubmitRunOperator|do_xcom_push| do_xcom_push|(/)|
|DatastoreExportOperator|xcom_push| xcom_push|(x)|
|DatastoreImportOperator|xcom_push| xcom_push|(x)|
|KubernetesPodOperator|xcom_push|xcom_push |(x)|
|SSHOperator|xcom_push|xcom_push |(x)|
|WinRMOperator|xcom_push| xcom_push|(x)|
|BashOperator|xcom_push_flag|xcom_push|(x)|
|DockerOperator|xcom_push_flag|xcom_push|(x)|
|SimpleHttpOperator|xcom_push_flag|xcom_push|(x)|

this custom implementation should be removed.

i presume also that the operators with instance var = xcom_push conflict with 
method BaseOperator.xcom_push() and probably aren't working properly anyway!?

  was:
following the implementation of AIRFLOW-3207 (global option to stop task 
pushing result to xcom), i did a quick search around to find out which 
operators have a custom implementation of this {{do_xcom_push}} flag:

||operator||instance var||__init__ arg||will change be backward comp?||
|DatabricksRunNowOperator|do_xcom_push | do_xcom_push|(/)|
|DatabricksSubmitRunOperator|do_xcom_push| do_xcom_push|(/)|
|DatastoreExportOperator|xcom_push| xcom_push|(x)|
|DatastoreImportOperator|xcom_push| xcom_push|(x)|
|KubernetesPodOperator|xcom_push|xcom_push |(x)|
|SSHOperator|xcom_push|xcom_push |(x)|
|WinRMOperator|xcom_push| xcom_push|(x)|
|BashOperator|xcom_push_flag|xcom_push|(x)|
|DockerOperator|xcom_push_flag|xcom_push|(x)|
|SimpleHttpOperator|xcom_push_flag|xcom_push|(x)|

this custom implementation should be removed


> unify do_xcom_push for all operators
> ------------------------------------
>
>                 Key: AIRFLOW-3249
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3249
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Ben Marengo
>            Assignee: Ben Marengo
>            Priority: Major
>
> following the implementation of AIRFLOW-3207 (global option to stop task 
> pushing result to xcom), i did a quick search around to find out which 
> operators have a custom implementation of this {{do_xcom_push}} flag:
> ||operator||instance var||__init__ arg||will change be backward comp?||
> |DatabricksRunNowOperator|do_xcom_push | do_xcom_push|(/)|
> |DatabricksSubmitRunOperator|do_xcom_push| do_xcom_push|(/)|
> |DatastoreExportOperator|xcom_push| xcom_push|(x)|
> |DatastoreImportOperator|xcom_push| xcom_push|(x)|
> |KubernetesPodOperator|xcom_push|xcom_push |(x)|
> |SSHOperator|xcom_push|xcom_push |(x)|
> |WinRMOperator|xcom_push| xcom_push|(x)|
> |BashOperator|xcom_push_flag|xcom_push|(x)|
> |DockerOperator|xcom_push_flag|xcom_push|(x)|
> |SimpleHttpOperator|xcom_push_flag|xcom_push|(x)|
> this custom implementation should be removed.
> i presume also that the operators with instance var = xcom_push conflict with 
> method BaseOperator.xcom_push() and probably aren't working properly anyway!?



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

Reply via email to