-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create gremlin provider #46977
base: main
Are you sure you want to change the base?
Create gremlin provider #46977
Conversation
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
|
Wondering if gremlin should be a subdirectory in the Apache folder, similar to Hive, iceberg |
I think it's doable, I was thinking to implement that but to keep it simpler to develop and test I left it that way till the Discussion on devlist is done. |
Yeah. There are two possible paths I see:
Both are possible, and I am slighlty in favour of "common", but let's see what others in the community think. |
New Provider for Gremlin (Apache TinkerPop)
Summary
This PR introduces a new provider for Gremlin—the graph traversal language of Apache TinkerPop. The provider is designed to facilitate connections to graph databases supporting Gremlin, such as Azure Cosmos DB and Amazon Neptune.
Background
Previously, I had developed a custom hook to query data from Azure Cosmos DB using Apache Gremlin. In this PR, I’ve consolidated that functionality into a full provider. While I managed to run it locally on the main branch, I encountered the BaseHook issue (#45233), so I performed all testing on the v2-10-test branch.
Changes
Provider Implementation:
run(query: str)
method that submits raw Gremlin query strings and returns the results.Operator:
run(query)
to execute the query.Testing:
Client.submit()
successfully return results from Cosmos DB using Gremlin.Testing & Validation