JanusGraph/janusgraph

hasId does not convert int to Long

Open

#1,554 建立於 2019年5月6日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Java (1,137 fork)batch import
area/corehelp wantedkind/enhancement

倉庫指標

Star
 (4,985 star)
PR 合併指標
 (平均合併 3天 18小時) (30 天內合併 12 個 PR)

描述

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

貢獻者指南