You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Lindsay Portelli (Jira)" <ji...@apache.org> on 2020/02/12 20:47:00 UTC

[jira] [Updated] (AIRFLOW-6787) Make ClientRequestToken Optional

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

Lindsay Portelli updated AIRFLOW-6787:
--------------------------------------
    Description: 
Boto3 doesn't accept parameters that are None so if you want to use AWSAthenaHook.run_query you must pass in a client_request_token.

You can see the documentation on this parameter [ here | https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html?highlight=start_query_execution#Athena.Client.start_query_execution
 ] and note that if it is not provided it will be automatically generated.

  was:
Boto3 doesn't accept parameters that are None so if you want to use AWSAthenaHook.run_query you must pass in a client_request_token. 

You can see the documentation on this parameter [here|https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html?highlight=start_query_execution#Athena.Client.start_query_execution
] and note that if it is not provided it will be automatically generated.


> Make ClientRequestToken Optional
> --------------------------------
>
>                 Key: AIRFLOW-6787
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6787
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: aws, hooks
>    Affects Versions: 1.10.8, 1.10.9
>            Reporter: Lindsay Portelli
>            Priority: Minor
>
> Boto3 doesn't accept parameters that are None so if you want to use AWSAthenaHook.run_query you must pass in a client_request_token.
> You can see the documentation on this parameter [ here | https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html?highlight=start_query_execution#Athena.Client.start_query_execution
>  ] and note that if it is not provided it will be automatically generated.



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