Skip to content

After inserting a vertex without a tag, useshow statsto count the numbers of vertices or edges that cannot be counted #3649

Closed
@foesa-yang

Description

@foesa-yang

Please check the FAQ documentation before raising an issue

Describe the bug (required)

(root@nebula) [basketballplayer]> Insert vertex VALUES "1":(),"2":()
Execution succeeded (time spent 1111/1503 us)

Thu, 06 Jan 2022 03:46:54 UTC

(root@nebula) [basketballplayer]>  show stats
+---------+------------+-------+
| Type    | Name       | Count |
+---------+------------+-------+
| "Tag"   | "person"   | 0     |
| "Tag"   | "player"   | 51    |
| "Tag"   | "t2"       | 1     |
| "Tag"   | "team"     | 30    |
| "Edge"  | "follow"   | 81    |
| "Edge"  | "like"     | 0     |
| "Edge"  | "serve"    | 152   |
| "Space" | "vertices" | 82    |
| "Space" | "edges"    | 233   |
+---------+------------+-------+
Got 9 rows (time spent 797/1346 us)

Thu, 06 Jan 2022 03:46:58 UTC

Your Environments (required)

  • OS: uname -a
  • Compiler: g++ --version or clang++ --version
  • CPU: lscpu
  • Commit id (e.g. a3ffc7d8)

How To Reproduce(required)

Steps to reproduce the behavior:

  1. Insert vertex without Tag.
  2. show stats to count the numbers of vertices or edges.

Expected behavior

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

type/bugType: something is unexpected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions