-
Notifications
You must be signed in to change notification settings - Fork 173
[BUG] Some gremlin queries not generating graphs in Air-Routes-Gremlin.ipynb #254
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
Comments
Hey! I'm using the gremlin-server backend. I updated the properties per the docs. Is there an easy way to debug? I'm not seeing any errors in the console where the notebook was started. What's weird is some queries work and some don't. I'll dig through the results to see if there's an obvious difference. |
If appears that if the output is a simple path, e.g.: |
I have some more information. It appears that if I remove |
Thanks for the updated info. I think that is probably it. We can look into fixes on the graph-notebook side, but for now is it possible to just use Double/Float for those? |
I'm not sure how I'd change them. They're coming like that from gremlin. The graphml has it as double. The query I'm running is below. Can you typecast in valueMap?
|
Thanks for the follow up. It seems that for some reason the values are getting serialized back as Decimals even though they are created as doubles. Will dig into this more. Seems we have two actions:
I ran a small test to help figure out at least what that value conversion you are seeing is using:
|
I setup a test environment with the latest graph-notebook and Gremlin Server 3.5.2 running locally. I loaded air routes into the graph using |
After much experimentation we figured out the difference. I had originally used |
I have pushed a change for |
Describe the bug
Several of the cells in the Air-Routes-Gremlin.ipynb do not generate results in the graph tab.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A graph tab with interesting results.
Screenshots

Desktop (please complete the following information):
Additional context
Latest version of graph-notebook 3.1.1
Backend gremlin-server using instructions here.
Seeded with %seed in notebook.
The text was updated successfully, but these errors were encountered: