JanusGraph/janusgraph

hasId does not convert int to Long

Open

#1554 aperta il 6 mag 2019

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Java (1137 fork)batch import
area/corehelp wantedkind/enhancement

Metriche repository

Star
 (4985 star)
Metriche merge PR
 (Merge medio 3g 18h) (12 PR mergiate in 30 g)

Descrizione

If an int is passed instead of a String or a Long to hasId() it does not get converted and results won't be yielded. This behavior has been report in issue #706, but I think this would be a nice improvement.

I think looking at the HasStepFolder.foldInIds() method might be a good place to start.

Additional info can be found in this stack overflow question and this tinkerpop issue

Guida contributor