Owen-CH-Leung opened a new pull request, #41537:
URL: https://github.com/apache/airflow/pull/41537

   Fixes #41486 
   
   The current `ElasticsearchSQLHook` is not working since it is still using 
`elasticsearch-dbapi` which has already been deprecated last year. This PR 
fixes the issue by adding a `execute_sql` API, which simply forwards the SQL 
query to the underlying official elasticsearch client.
   
   Docs are also updated to show a working example of `ElasticsearchSQLHook`. A 
Screencap of the log output: 
   
   
![image](https://github.com/user-attachments/assets/038d26c1-9ad2-4c0c-90f4-1d2a1286990c)
   


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