syedahsn commented on PR #40014:
URL: https://github.com/apache/airflow/pull/40014#issuecomment-2159446182

   I'm trying to run the system test locally, before I get have it running in 
our system test dashboard, but I'm getting some errors. 
   In the `create_database` task, I get the following error:
   ```
   [2024-06-10, 22:50:41 UTC] {taskinstance.py:3131} ERROR - Task failed with 
exception
   Traceback (most recent call last):
     File "/opt/airflow/airflow/models/taskinstance.py", line 759, in 
_execute_task
       result = _execute_callable(context=context, **execute_callable_kwargs)
     File "/opt/airflow/airflow/models/taskinstance.py", line 725, in 
_execute_callable
       return ExecutionCallableRunner(
     File "/opt/airflow/airflow/utils/operator_helpers.py", line 250, in run
       return self.func(*args, **kwargs)
     File "/opt/airflow/airflow/models/baseoperator.py", line 406, in wrapper
       return func(self, *args, **kwargs)
     File "/opt/airflow/airflow/providers/amazon/aws/operators/athena.py", line 
131, in execute
       self.query_execution_id = self.hook.run_query(
     File "/opt/airflow/airflow/providers/amazon/aws/hooks/athena.py", line 
133, in run_query
       response = self.get_conn().start_query_execution(**params)
     File "/usr/local/lib/python3.9/site-packages/botocore/client.py", line 
565, in _api_call
       return self._make_api_call(operation_name, kwargs)
     File "/usr/local/lib/python3.9/site-packages/botocore/client.py", line 
1021, in _make_api_call
       raise error_class(parsed_response, operation_name)
   botocore.errorfactory.InvalidRequestException: An error occurred 
(InvalidRequestException) when calling the StartQueryExecution operation: line 
1:8: mismatched input 'DATABASE'. Expecting: 'MATERIALIZED', 'MULTI', 'OR', 
'PROTECTED', 'ROLE', 'SCHEMA', 'TABLE', 'VIEW'
   ```
   This is for both the system test in this PR 
(`example_glue_data_quality_with_recommendation.py`), and the system test from 
#39923 (`example_glue_data_quality.py`). 
   @gopidesupavan were you able to run the system test locally to completion? 


-- 
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]

Reply via email to