Elasticsearch hook support DSL
See original GitHub issueDescription
Current elasticsearch provider hook does not support query with DSL. Can we implement some methods that support user input json to get query results?
BTW, why current ElasticsearchHook's
father class is DbApiHook
? I thought DbApiHook is for relational database that supports sqlalchemy
?
Use case/motivation
I think the elasticsearch provider hook should be like MongoHook
that inherit from BaseHook
and provide more useful methods works out of the box.
Related issues
No response
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project’s Code of Conduct
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Elasticsearch DSL — Elasticsearch DSL 7.2.0 documentation
Elasticsearch DSL is a high-level library whose aim is to help with writing and running queries against Elasticsearch. It is built on top...
Read more >Elasticsearch DSL Documentation - Read the Docs
Elasticsearch DSL is a high-level library whose aim is to help with writing and running queries against Elasticsearch.
Read more >Query DSL | Elasticsearch Guide [8.5] | Elastic
Elasticsearch provides a full Query DSL (Domain Specific Language) based on JSON to define queries. Think of the Query DSL as an AST...
Read more >Package apache-airflow-providers-elasticsearch
This is a provider package for elasticsearch provider. ... for the minimum Airflow version supported) via pip install apache-airflow-providers-elasticsearch ...
Read more >elasticsearch-dsl - PyPI
Elasticsearch DSL is a high-level library whose aim is to help with writing and running queries against Elasticsearch. It is built on top...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Feel free to add support for that.
If this issue is not active, I can try to take a look at this one 😃