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

When using the 'where' clause to filter double types, only eight decimal places can be matched #5540

Open
he110802 opened this issue May 8, 2023 · 0 comments
Labels
affects/none PR/issue: this bug affects none version. severity/none Severity of bug type/bug Type: something is unexpected

Comments

@he110802
Copy link

he110802 commented May 8, 2023

When using the 'where' clause to filter double types, only eight decimal places can be matched
OS: centos7.9
nebula version 3.4.0

  1. create a Tag “t” and property "p" of type double
    add vertex "testv" with t.p = 123.123456789
  2. Using query "match(v:t)where v.t.p == 123.12345670"
    nothing matched
  3. Using query "match(v:t)where v.t.p == 123.123456780"
    or "match(v:t)where v.t.p == 123.123456781234"
    got the vertex
    ("testv": v{p: 123.123456789})
@he110802 he110802 added the type/bug Type: something is unexpected label May 8, 2023
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/none PR/issue: this bug affects none version. severity/none Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

1 participant