Owen-CH-Leung commented on issue #41486:
URL: https://github.com/apache/airflow/issues/41486#issuecomment-2292650950

   Indeed, I can reproduce the same error as @Pooort pointed out: 
   
   
![image](https://github.com/user-attachments/assets/3d7717a0-ceaf-4eb4-91b0-b0f1c13354cd)
   
   The root cause is that the current implementation of `ElasticsearchSQLHook` 
is dependent on an unofficial ES library `elasticsearch-dbapi` which we have 
already deprecated it since it doesn't support ES8.
   
   Luckily the official es python client has a SQL client available so we can 
easily refactor our implementation : 
   
   
https://github.com/elastic/elasticsearch-py/blob/main/elasticsearch/_sync/client/sql.py#L26
   
   I'll file a PR to refactor it soon


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