kaori-seasons commented on PR #3606: URL: https://github.com/apache/calcite/pull/3606#issuecomment-1905371932
> @kaori-seasons Thank you for writing so much code. > > Please fix CI and add document in site like [kafka_adapter](https://github.com/apache/calcite/blob/main/site/_docs/kafka_adapter.md). > > > That will help others review your code. @JiajunBernoulli Hello, according to your instructions, I am supplementing the sqlline used by Gremlin Adapter. But there is a problem in gremlin's native driver. This problem is that every time the user sends the query sql of the point table and edge table to the Gremlinserver query server to complete the query, but the returned context needs to include GraphTraversalSource or TinkerGraph. Only when any object is used as a data source can we perform graph traversal operations based on this, as shown below ``` Object result = acceptor.connect(Arrays.asList(Storage.toPath(ConfigureSupport.generateTempFileFromResource(this.getClass(), "gremlin-server-integration.yaml", ".tmp")), "session-managed")); TinkerGraph graph = (TinkerGraph) result; GraphTraversalSource g = graph.traversal(); g.addVertex('name','stephen');g.addVertex('name','marko');g.traversal().V()" ``` This means that I need to implement a new driver, which is the GremlinRemoteDriver in the code listing, to obtain the GraphTraversalSource or TinkerGraph object. This work will take up more time, I will continue to complete this PR after it is ready. -- 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]
