Seeking feedback on tinkerpop gremlin explain and profile from db providers #4683
Unanswered
andreachild
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Everyone,
I have been looking at the Explain and Profile implementations in Tinkerpop gremlin-core and how to improve the flexibility of its output for Tinkerpop 4.0 for graph db providers.
My questions to the JanusGraph community are:
For Explain, I am thinking about modifying TraversalExplanation to allow providers to more easily group applied TraversalStrategies into intermediate traversals so that the output can contain the Original Traversal, X-Intermediate Traversals, and then Final Traversal based on how the provider decides to group the strategies.
For Profile, I am wondering if it would be useful to change Metrics from storing data in two maps into a single map, allowing db providers to specify custom metric aggregation logic via BinaryOperator (ie. sum, average, min, max, String concatenation), and then changing toString to dynamically determine the output table headers based on the keys of the metrics map. Or perhaps a more simpler approach would be better to allow injection of additional text before or after the default Profile output.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions