amazon.aws.hooks.redshift_sql
¶
Module Contents¶
Classes¶
Attributes¶
- amazon.aws.hooks.redshift_sql.log¶
- class amazon.aws.hooks.redshift_sql.RedshiftSQLHookAsync(*args, **kwargs)¶
Bases:
astronomer.providers.amazon.aws.hooks.redshift_data.RedshiftDataHook
- async get_query_status(self, query_ids)¶
Async function to get the Query status by query Ids, this function takes list of query_ids make async connection to redshift data to get the query status by query id returns the query status.
- Parameters
query_ids (List[str]) – list of query ids
- async is_still_running(self, qid)¶
Async function to whether the query is still running or in “PICKED”, “STARTED”, “SUBMITTED” state and returns True else return False