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

Set output column names of each plan node automatically #2711

Open
yixinglu opened this issue Oct 20, 2020 · 0 comments
Open

Set output column names of each plan node automatically #2711

yixinglu opened this issue Oct 20, 2020 · 0 comments
Labels
type/feature req Type: feature request

Comments

@yixinglu
Copy link
Contributor

Execution Plan

+----+--------------+--------------+----------------+----------------------------------------------------------------------------------------------------------------------+
| id | name         | dependencies | profiling data | operator info                                                                                                        |
+----+--------------+--------------+----------------+----------------------------------------------------------------------------------------------------------------------+
|  8 | Project      | 7            |                | outputVar: [{"colNames":["name"],"name":"__Project_8","type":"DATASET"}]                                             |
|    |              |              |                | inputVar: __Filter_7                                                                                                 |
|    |              |              |                | columns: $-.__UNAMED_COL_2 AS name                                                                                   |
+----+--------------+--------------+----------------+----------------------------------------------------------------------------------------------------------------------+
|  7 | Filter       | 6            |                | outputVar: [{"colNames":[],"name":"__Filter_7","type":"DATASET"}]                                                    |
|    |              |              |                | inputVar: __DataJoin_6                                                                                               |
|    |              |              |                | condition: (($-.__UNAMED_COL_0>18)&&($-.__UNAMED_COL_1==Lakers))                                                     |
+----+--------------+--------------+----------------+----------------------------------------------------------------------------------------------------------------------+
|  6 | DataJoin     | 5            |                | outputVar: [{"colNames":[],"name":"__DataJoin_6","type":"DATASET"}]                                                  |
|    |              |              |                | leftVar: {"__Project_1":"0"}                                                                                         |
|    |              |              |                | rightVar: {"__Project_5":"0"}                                                                                        |
|    |              |              |                | hashKeys: ["$__Project_1.__UNAMED_COL_3"]                                                                            |
|    |              |              |                | probeKeys: ["$__Project_5.__UNAMED_COL_4"]                                                                           |
+----+--------------+--------------+----------------+----------------------------------------------------------------------------------------------------------------------+
|  5 | Project      | 4            |                | outputVar: [{"colNames":["__UNAMED_COL_1","__UNAMED_COL_4"],"name":"__Project_5","type":"DATASET"}]                  |
|    |              |              |                | inputVar: __GetVertices_4                                                                                            |
|    |              |              |                | columns: $$.team.name AS __UNAMED_COL_1,$__GetVertices_4._vid AS __UNAMED_COL_4                                      |
+----+--------------+--------------+----------------+----------------------------------------------------------------------------------------------------------------------+
|  4 | GetVertices  | 3            |                | outputVar: [{"colNames":[],"name":"__GetVertices_4","type":"DATASET"}]                                               |
|    |              |              |                | inputVar: __Dedup_3                                                                                                  |
|    |              |              |                | space: 1                                                                                                             |
|    |              |              |                | dedup: false                                                                                                         |
|    |              |              |                | limit: 9223372036854775807                                                                                           |
|    |              |              |                | filter:                                                                                                              |
|    |              |              |                | orderBy: []                                                                                                          |
|    |              |              |                | src: $__Dedup_3.__UNAMED_COL_3                                                                                       |
|    |              |              |                | props: [{}]                                                                                                          |
|    |              |              |                | exprs: []                                                                                                            |
+----+--------------+--------------+----------------+----------------------------------------------------------------------------------------------------------------------+
|  3 | Dedup        | 2            |                | outputVar: [{"colNames":[],"name":"__Dedup_3","type":"DATASET"}]                                                     |
|    |              |              |                | inputVar: __Project_2                                                                                                |
+----+--------------+--------------+----------------+----------------------------------------------------------------------------------------------------------------------+
|  2 | Project      | 1            |                | outputVar: [{"colNames":["__UNAMED_COL_3"],"name":"__Project_2","type":"DATASET"}]                                   |
|    |              |              |                | inputVar: __Project_1                                                                                                |
|    |              |              |                | columns: $-.__UNAMED_COL_3 AS __UNAMED_COL_3                                                                         |
+----+--------------+--------------+----------------+----------------------------------------------------------------------------------------------------------------------+
|  1 | Project      | 0            |                | outputVar: [{"colNames":["__UNAMED_COL_0","__UNAMED_COL_2","__UNAMED_COL_3"],"name":"__Project_1","type":"DATASET"}] |
|    |              |              |                | inputVar: __GetNeighbors_0                                                                                           |
|    |              |              |                | columns: $^.player.age AS __UNAMED_COL_0,$^.player.name AS __UNAMED_COL_2,*._dst AS __UNAMED_COL_3                   |
+----+--------------+--------------+----------------+----------------------------------------------------------------------------------------------------------------------+
|  0 | GetNeighbors | 10           |                | outputVar: [{"colNames":[],"name":"__GetNeighbors_0","type":"DATASET"}]                                              |
|    |              |              |                | inputVar: __UNAMED_VAR_0                                                                                             |
|    |              |              |                | space: 1                                                                                                             |
|    |              |              |                | dedup: false                                                                                                         |
|    |              |              |                | limit: 9223372036854775807                                                                                           |
|    |              |              |                | filter:                                                                                                              |
|    |              |              |                | orderBy: []                                                                                                          |
|    |              |              |                | src: $__UNAMED_VAR_0._vid                                                                                            |
|    |              |              |                | edgeTypes: []                                                                                                        |
|    |              |              |                | edgeDirection: OUT_EDGE                                                                                              |
|    |              |              |                | vertexProps: [{}]                                                                                                    |
|    |              |              |                | edgeProps: [{}]                                                                                                      |
|    |              |              |                | statProps:                                                                                                           |
|    |              |              |                | exprs:                                                                                                               |
|    |              |              |                | random: false                                                                                                        |
+----+--------------+--------------+----------------+----------------------------------------------------------------------------------------------------------------------+
| 10 | Start        |              |                | outputVar: [{"colNames":[],"name":"__Start_10","type":"DATASET"}]                                                    |
+----+--------------+--------------+----------------+----------------------------------------------------------------------------------------------------------------------+
@CPWstatic CPWstatic transferred this issue from vesoft-inc/nebula-graph Aug 28, 2021
@CPWstatic CPWstatic added the type/feature req Type: feature request label Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature req Type: feature request
Projects
None yet
Development

No branches or pull requests

2 participants