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

geo type insert illegal data success,but query report error #5459

Closed
nebula-bots opened this issue Mar 30, 2023 · 0 comments · Fixed by #5460
Closed

geo type insert illegal data success,but query report error #5459

nebula-bots opened this issue Mar 30, 2023 · 0 comments · Fixed by #5460
Assignees
Labels
affects/v3.4 PR/issue: this bug affects v3.4.x version auto-sync doc affected PR: improvements or additions to documentation process/done Process of bug severity/minor Severity of bug type/bug Type: something is unexpected
Milestone

Comments

@nebula-bots
Copy link
Contributor

as title

(root@nebula) [ngdata]>  create tag t1(age int,geo geography)
Execution succeeded (time spent 1324/31109 us)

Tue, 28 Mar 2023 10:53:17 CST

(root@nebula) [ngdata]> insert vertex t1(age,geo) values 1:(30,"POINT(1 1)")
Execution succeeded (time spent 1773/27024 us)

Tue, 28 Mar 2023 10:54:00 CST

(root@nebula) [ngdata]>  fetch prop on t1 1 yield vertex as v
[ERROR (-1005)]: Storage Error: Tag prop not found.

Tue, 28 Mar 2023 10:54:15 CST

(root@nebula) [ngdata]> match (v:t1) return v limit 2
[ERROR (-1005)]: Storage Error: Tag prop not found.

Tue, 28 Mar 2023 10:54:26 CST

the error is because the geo value i insert is illegal,in our doc it should be:

 INSERT VERTEX any_shape(geo) VALUES "103":(ST_GeogFromText("POLYGON((0 1, 1 2, 2 3, 0 1))")); 

image

after ST_GeogFromText() it process right

Your Environments (required)

3.4.0-ent
commitid: 6b14be2

Expected behavior

  1. please report error when insert
  2. our doc may do some change,because the example seems misleading
@nebula-bots nebula-bots added affects/v3.4 PR/issue: this bug affects v3.4.x version auto-sync severity/minor Severity of bug type/bug Type: something is unexpected labels Mar 30, 2023
@Sophie-Xie Sophie-Xie added this to the v3.5.0 milestone Mar 30, 2023
@github-actions github-actions bot added the process/fixed Process of bug label Mar 30, 2023
@nebula-bots nebula-bots added process/done Process of bug doc affected PR: improvements or additions to documentation and removed process/fixed Process of bug labels Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/v3.4 PR/issue: this bug affects v3.4.x version auto-sync doc affected PR: improvements or additions to documentation process/done Process of bug severity/minor Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants