You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/29 15:44:27 UTC

[GitHub] [airflow] subkanthi commented on issue #16502: Feature: Method in AWSAthenaHook to get output URI from S3

subkanthi commented on issue #16502:
URL: https://github.com/apache/airflow/issues/16502#issuecomment-930299793


   Can I have this please, I can do some more analysis.
   
   boto3 seems to support this 
   
   https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html
   - ResultConfiguration (dict) --
   The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup.
   
   OutputLocation (string) --
   The location in Amazon S3 where your query results are stored, such as s3://path/to/query/bucket/ . To run the query, you must specify the query results location using one of the ways: either for individual queries using either this setting (client-side), or in the workgroup, using WorkGroupConfiguration . If none of them is set, Athena issues an error that no output location is provided. For more information, see Query Results . If workgroup settings override client-side settings, then the query uses the settings specified for the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration .


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org