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

贡献者指南