[
https://issues.apache.org/jira/browse/AIRFLOW-4073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16791200#comment-16791200
]
Bryan Yang commented on AIRFLOW-4073:
-------------------------------------
Original Operator
{quote}class AWSAthenaOperator(BaseOperator):
"""
An operator that submit presto query to athena.
:param query: Presto to be run on athena. (templated)
:type query: str
:param database: Database to select. (templated)
:type database: str
:param output_location: s3 path to write the query results into. (templated)
:type output_location: str
:param aws_conn_id: aws connection to use
:type aws_conn_id: str
:param sleep_time: Time to wait between two consecutive call to check query
status on athena
:type sleep_time: int
"""
ui_color = '#44b5e2'
template_fields = ('query', 'database', 'output_location')
{quote}
> Add supporting of templated file of Athena Operator
> ---------------------------------------------------
>
> Key: AIRFLOW-4073
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4073
> Project: Apache Airflow
> Issue Type: Improvement
> Components: aws
> Reporter: Bryan Yang
> Assignee: Bryan Yang
> Priority: Minor
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Don't like other SQL operators(eg. hive, bigquery), AWS Athena operator
> didn't support template_ext now. I'll add template_ext to the operator.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)