补充一下执行的语句和结果
(l@nebula) [hips20]> show stats
+---------+-----------------+-----------+
| Type | Name | Count |
+---------+-----------------+-----------+
| "Tag" | "FileEntity" | 0 |
| "Tag" | "ProcessEntity" | 0 |
| "Edge" | "FileRead" | 0 |
| "Edge" | "FileWrite" | 0 |
| "Edge" | "ProcessFork" | 0 |
| "Space" | "vertices" | 459622543 |
| "Space" | "edges" | 0 |
+---------+-----------------+-----------+
Got 7 rows (time spent 801/1116 us)
Mon, 06 Feb 2023 14:50:44 CST
(l@nebula) [hips20]> match (v) return v limit 3
+---+
| v |
+---+
+---+
Empty set (time spent 6924710/6922840 us)
Mon, 06 Feb 2023 14:51:08 CST
(l@nebula) [hips20]> explain match (v) return v limit 3
Execution succeeded (time spent 325/642 us)
Execution Plan (optimize time 89 us)
-----+----------------+--------------+----------------+----------------------------------------------------------------------------
| id | name | dependencies | profiling data | operator info |
-----+----------------+--------------+----------------+----------------------------------------------------------------------------
| 8 | DataCollect | 12 | | outputVar: [ |
| | | | | { |
| | | | | "colNames": [ |
| | | | | "v" |
| | | | | ], |
| | | | | "type": "DATASET", |
| | | | | "name": "__DataCollect_8" |
| | | | | } |
| | | | | ] |
| | | | | inputVar: [ |
| | | | | { |
| | | | | "colNames": [ |
| | | | | "v" |
| | | | | ], |
| | | | | "type": "DATASET", |
| | | | | "name": "__Limit_7" |
| | | | | } |
| | | | | ] |
| | | | | kind: ROW |
-----+----------------+--------------+----------------+----------------------------------------------------------------------------
| 12 | Project | 13 | | outputVar: [ |
| | | | | { |
| | | | | "colNames": [ |
| | | | | "v" |
| | | | | ], |
| | | | | "type": "DATASET", |
| | | | | "name": "__Limit_7" |
| | | | | } |
| | | | | ] |
| | | | | inputVar: __Project_6 |
| | | | | columns: [ |
| | | | | "$-.v AS v" |
| | | | | ] |
-----+----------------+--------------+----------------+----------------------------------------------------------------------------
| 13 | Limit | 14 | | outputVar: [ |
| | | | | { |
| | | | | "colNames": [ |
| | | | | "v" |
| | | | | ], |
| | | | | "type": "DATASET", |
| | | | | "name": "__Project_6" |
| | | | | } |
| | | | | ] |
| | | | | inputVar: __AppendVertices_4 |
| | | | | offset: 0 |
| | | | | count: 3 |
-----+----------------+--------------+----------------+----------------------------------------------------------------------------
| 14 | AppendVertices | 15 | | outputVar: [ |
| | | | | { |
| | | | | "colNames": [ |
| | | | | "v" |
| | | | | ], |
| | | | | "type": "DATASET", |
| | | | | "name": "__AppendVertices_4" |
| | | | | } |
| | | | | ] |
| | | | | inputVar: __Filter_2 |
| | | | | space: 42 |
| | | | | dedup: true |
| | | | | limit: 0 |
| | | | | filter: |
| | | | | orderBy: [] |
| | | | | src: $-._vid |
| | | | | props: [ |
| | | | | { |
| | | | | "props": [ |
| | | | | "process_uuid", |
| | | | | "pprocess_uuid", |
| | | | | "host_uuid", |
| | | | | "pid", |
| | | | | "ppid", |
| | | | | "processStartTs", |
| | | | | "pprocessStartTs", |
| | | | | "process_uid", |
| | | | | "process_euid", |
| | | | | "process_suid", |
| | | | | "process_gid", |
| | | | | "process_egid", |
| | | | | "process_sgid", |
| | | | | "process_cwd", |
| | | | | "process_name", |
| | | | | "process_cmdline", |
| | | | | "container_id", |
| | | | | "virtual_pid", |
| | | | | "process_path", |
| | | | | "file_uuid", |
| | | | | "process_hash", |
| | | | | "capability", |
| | | | | "_tag" |
| | | | | ], |
| | | | | "tagId": 43 |
| | | | | }, |
| | | | | { |
| | | | | "props": [ |
| | | | | "file_uuid", |
| | | | | "file_type", |
| | | | | "host_uuid", |
| | | | | "generationNumber", |
| | | | | "dev_num", |
| | | | | "inode_num", |
| | | | | "file_path", |
| | | | | "file_hash", |
| | | | | "file_size", |
| | | | | "file_format", |
| | | | | "file_uid", |
| | | | | "file_gid", |
| | | | | "file_mode", |
| | | | | "file_ctime", |
| | | | | "file_mtime", |
| | | | | "file_atime", |
| | | | | "isHostFile", |
| | | | | "_tag" |
| | | | | ], |
| | | | | "tagId": 44 |
| | | | | } |
| | | | | ] |
| | | | | exprs: |
| | | | | if_track_previous_path: false |
-----+----------------+--------------+----------------+----------------------------------------------------------------------------
| 15 | ScanVertices | 3 | | outputVar: [ |
| | | | | { |
| | | | | "colNames": [ |
| | | | | "_vid", |
| | | | | "FileEntity._tag", |
| | | | | "ProcessEntity._tag" |
| | | | | ], |
| | | | | "type": "DATASET", |
| | | | | "name": "__Filter_2" |
| | | | | } |
| | | | | ] |
| | | | | inputVar: |
| | | | | space: 42 |
| | | | | dedup: false |
| | | | | limit: 3 |
| | | | | filter: (FileEntity._tag IS NOT EMPTY OR ProcessEntity._tag IS NOT EMPTY) |
| | | | | orderBy: [] |
| | | | | props: [ |
| | | | | { |
| | | | | "props": [ |
| | | | | "_tag" |
| | | | | ], |
| | | | | "tagId": 44 |
| | | | | }, |
| | | | | { |
| | | | | "props": [ |
| | | | | "_tag" |
| | | | | ], |
| | | | | "tagId": 43 |
| | | | | } |
| | | | | ] |
| | | | | exprs: |
-----+----------------+--------------+----------------+----------------------------------------------------------------------------
| 3 | Start | | | outputVar: [ |
| | | | | { |
| | | | | "colNames": [], |
| | | | | "type": "DATASET", |
| | | | | "name": "__Start_3" |
| | | | | } |
| | | | | ] |
-----+----------------+--------------+----------------+----------------------------------------------------------------------------