Skip to content
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

边属性为double类型时的过滤问题 #606

Open
zhangwh807 opened this issue Jul 23, 2024 · 1 comment
Open

边属性为double类型时的过滤问题 #606

zhangwh807 opened this issue Jul 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@zhangwh807
Copy link
Collaborator

image
image
A0100边上的ratio是double类型。数据看着有超过double精度的,正常导入了。但是在用这个属性过滤时符合条件的却没有返回
如下图
image
image

@zhangwh807 zhangwh807 added the bug Something isn't working label Jul 23, 2024
@zhangwh807 zhangwh807 changed the title double类型的边过滤问题 边属性为double类型时的过滤问题 Jul 23, 2024
@ncbd
Copy link
Contributor

ncbd commented Jul 25, 2024

该问题不是double类型过滤问题,是语法错误问题。在MATCH p=(n:N100{name:"苏宁易购集团股份有限公司"})-[r:A01001..2]->() where r.ratio>0.1 RETURN p limit 5语句中,[r:A01001..2]可能存在多条边的情况,这与0.1无法比较。可以使用MATCH p=(n:N100{name:"苏宁易购集团股份有限公司"})-[r:A0100]->() where r.ratio>0.1 RETURN p limit 5语句。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants