JanusGraph/janusgraph

hasId does not convert int to Long

Aberta

#1.554 aberto em 6 de mai. de 2019

 (2 comentários) (0 reação) (0 responsável)Java (1.137 forks)batch import
area/corehelp wantedkind/enhancement

Métricas do repositório

Stars
 (4.985 estrelas)
Métricas de merge de PR
 (Mesclagem média 3d 18h) (12 fundiu PRs em 30d)

Description

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

Guia do colaborador