airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ash Berlin-Taylor (Jira)" <>
Subject [jira] [Updated] (AIRFLOW-5052) Add the include_deleted parameter to Salesforce Hook
Date Wed, 16 Oct 2019 15:10:00 GMT


Ash Berlin-Taylor updated AIRFLOW-5052:
    Fix Version/s:     (was: 1.10.6)

> Add the include_deleted parameter to Salesforce Hook
> ----------------------------------------------------
>                 Key: AIRFLOW-5052
>                 URL:
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: hooks
>    Affects Versions: 1.10.4, 2.0.0, 1.10.5
>            Reporter: Wayne Morris
>            Assignee: Wayne Morris
>            Priority: Major
>             Fix For: 2.0.0
> At present, the salesforce hook uses the make_query() method to perform query via Salesforce
api. The make_query() accepts a query and and uses a wrapper function which calls the query_all()
method from simple salesforce to perform the query.
> The deficiency with the use of the query_all() method is that it does not factor the
inclusion of deleted records which is an optional parameter in the query_all() method of simple
salesforce as shown below:
> ```
> #query_all method in the salesforce hook
> query_all(query)
> #This should be changed to reflect what the simple salesforce query_all() does in the.
background as follows
> {color:#ffc66d}query_all{color}({color:#94558d}self{color}{color:#cc7832}, {color}query{color:#cc7832},
{color}include_deleted={color:#cc7832}False, {color}**kwargs):
> ```
> The objective of this ticket is add these parameters to the salesforce hook so that the
hook also has the option of including the deleted records from Salesforce in the query.

This message was sent by Atlassian Jira

View raw message