SameerMesiah97 commented on code in PR #72081:
URL: https://github.com/apache/airflow/pull/72081#discussion_r4053496544
##########
providers/amazon/src/airflow/providers/amazon/aws/hooks/athena.py:
##########
@@ -344,3 +351,178 @@ def stop_query(self, query_execution_id: str) -> dict:
"""
self.log.info("Stopping Query with executionId - %s",
query_execution_id)
return
self.get_conn().stop_query_execution(QueryExecutionId=query_execution_id)
+
+ def _get_spark_calculation_status(self, response: dict[str, Any] | None)
-> dict[str, Any]:
+ return (response or {}).get("Status") or {}
+
+ def start_spark_calculation(
+ self,
+ *,
+ session_id: str,
+ code_block: str,
+ description: str | None = None,
+ calculation_configuration: dict[str, Any] | None = None,
Review Comment:
calculation_configuration has been removed.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]