vesoft-inc/nebula-go

Some debug info of MakePlan is printed

jievince opened this issue · 0 comments

Please check the FAQ documentation before raising an issue

Describe the bug (required)

Your Environments (required)

  • OS: uname -a
  • Commit id (e.g. a3ffc7d8)

How To Reproduce(required)

(root@nebula) [nba]> explain format="row" match (v:player) where v.player.name == "Tony Parker" return v
Execution succeeded (time spent 1.923ms/2.28367ms)

Execution Plan (optimize time 1064 us)

outputVar: {
  "colNames": [
    "v"
  ],
  "type": "DATASET",
  "name": "__Project_6"
}
inputVar: __Filter_5
columns: [
  "$v"
]
outputVar: {
  "colNames": [
    "v"
  ],
  "name": "__Filter_5",
  "type": "DATASET"
}
inputVar: __Project_4
condition: (v.player.name=="Tony Parker")
isStable: false
outputVar: {
  "colNames": [
    "v"
  ],
  "name": "__Project_4",
  "type": "DATASET"
}
inputVar: __IndexScan_1
space: 2
dedup: true
limit: -1
filter: player._tag IS NOT EMPTY
orderBy: []
src: $_vid
props: [
  {
    "props": [
      "name",
      "speciality",
      "_tag"
    ],
    "tagId": 5
  },
  {
    "tagId": 3,
    "props": [
      "name",
      "age",
      "_tag"
    ]
  },
  {
    "tagId": 17,
    "props": [
      "age",
      "geo",
      "_tag"
    ]
  },
  {
    "tagId": 4,
    "props": [
      "name",
      "_tag"
    ]
  }
]
exprs: 
vertex_filter: 
if_track_previous_path: false
outputVar: {
  "colNames": [
    "_vid"
  ],
  "name": "__IndexScan_1",
  "type": "DATASET"
}
inputVar: 
space: 2
dedup: false
limit: 9223372036854775807
filter: 
orderBy: []
schemaId: 3
isEdge: false
returnCols: [
  "_vid"
]
indexCtx: [
  {
    "columnHints": [
      {
        "endValue": "__EMPTY__",
        "beginValue": "Tony Parker",
        "includeEnd": false,
        "includeBegin": true,
        "scanType": "PREFIX",
        "column": "name"
      }
    ],
    "filter": "",
    "index_id": 9
  }
]
outputVar: {
  "colNames": [],
  "name": "__Start_2",
  "type": "DATASET"
}
-----+----------------+--------------+----------------+--------------------------------------------
| id | name           | dependencies | profiling data | operator info                             |
-----+----------------+--------------+----------------+--------------------------------------------
|  6 | Project        | 5            |                | outputVar: {                              |
|    |                |              |                |   "colNames": [                           |
|    |                |              |                |     "v"                                   |
|    |                |              |                |   ],                                      |
|    |                |              |                |   "type": "DATASET",                      |
|    |                |              |                |   "name": "__Project_6"                   |
|    |                |              |                | }                                         |
|    |                |              |                | inputVar: __Filter_5                      |
|    |                |              |                | columns: [                                |
|    |                |              |                |   "$v"                                    |
|    |                |              |                | ]                                         |
-----+----------------+--------------+----------------+--------------------------------------------
|  5 | Filter         | 9            |                | outputVar: {                              |
|    |                |              |                |   "colNames": [                           |
|    |                |              |                |     "v"                                   |
|    |                |              |                |   ],                                      |
|    |                |              |                |   "name": "__Filter_5",                   |
|    |                |              |                |   "type": "DATASET"                       |
|    |                |              |                | }                                         |
|    |                |              |                | inputVar: __Project_4                     |
|    |                |              |                | condition: (v.player.name=="Tony Parker") |
|    |                |              |                | isStable: false                           |
-----+----------------+--------------+----------------+--------------------------------------------
|  9 | AppendVertices | 7            |                | outputVar: {                              |
|    |                |              |                |   "colNames": [                           |
|    |                |              |                |     "v"                                   |
|    |                |              |                |   ],                                      |
|    |                |              |                |   "name": "__Project_4",                  |
|    |                |              |                |   "type": "DATASET"                       |
|    |                |              |                | }                                         |

Steps to reproduce the behavior:

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior

Additional context