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

Vertices is not deleted when we drop the tag, the vertices become NON-tag vertices. #4457

Closed
Milittle opened this issue Jul 24, 2022 · 1 comment
Assignees
Labels
type/enhancement Type: make the code neat or more efficient
Milestone

Comments

@Milittle
Copy link
Contributor

General Question

Vertices is not deleted when we drop the tag, the vertices become NON-tag vertices. But there has some problem need to be cleared:

  1. when we use MATCH (v) RETURN v LIMIT 1;, we can not get the data.
  2. but when we use MATCH (v) where id(v) IN ['xxxx', 'xxxxx'] RETURN v LIMIT 10;
(root@nebula) [basketballplayer]> match (v) return v limit 1;
+---+
| v |
+---+
+---+
Empty set (time spent 52616/53922 us)

Sun, 24 Jul 2022 22:15:36 CST

(root@nebula) [basketballplayer]>

(root@nebula) [basketballplayer]> match (v) where id(v) == 'player100'return v limit 1;
+---------------+
| v             |
+---------------+
| ("player100") |
+---------------+
Got 1 rows (time spent 166007/167631 us)

Sun, 24 Jul 2022 22:16:30 CST

(root@nebula) [basketballplayer]>

(root@nebula) [basketballplayer]> match (v) where id(v) in ['player101', 'player102'] return v limit 10;
+---------------+
| v             |
+---------------+
| ("player101") |
| ("player102") |
+---------------+
Got 2 rows (time spent 2605/3354 us)

Sun, 24 Jul 2022 22:20:22 CST

(root@nebula) [basketballplayer]>
  1. I think there has some sematics issue.
  2. Guys, can we explain for this problem.
@Sophie-Xie Sophie-Xie added the type/enhancement Type: make the code neat or more efficient label Aug 1, 2022
@Shylock-Hg
Copy link
Contributor

  1. It's a bug of scan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
No open projects
Status: Done
Development

No branches or pull requests

5 participants