nebula graph源码开发

想问目前有无依赖形式为A->B->kStart的语句?

没太明白您的意思,很多语句是超过两个依赖节点的哈,比如。

(root@nebula) [basketballplayer]> explain format="dot" MATCH (n:player)-[]->(m:player) return m
Execution succeeded (time spent 383/18264 us)

Execution Plan (optimize time 82 us)

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  plan
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  digraph exec_plan {
      rankdir=BT;
      "Project_16"[label="{Project_16|outputVar: \[\{\"colNames\":\[\"m\"\],\"name\":\"__Project_16\",\"type\":\"DATASET\"\}\]|inputVar: __Filter_15}", shape=Mrecord];
      "Filter_15"->"Project_16";
      "Filter_15"[label="{Filter_15|outputVar: \[\{\"colNames\":\[\"n\",\"m\",\"__COL_0\"\],\"name\":\"__Filter_15\",\"type\":\"DATASET\"\}\]|inputVar: __Project_14}", shape=Mrecord];
      "Project_14"->"Filter_15";
      "Project_14"[label="{Project_14|outputVar: \[\{\"colNames\":\[\"n\",\"m\",\"__COL_0\"\],\"name\":\"__Project_14\",\"type\":\"DATASET\"\}\]|inputVar: __InnerJoin_13}", shape=Mrecord];
      "InnerJoin_13"->"Project_14";
      "InnerJoin_13"[label="{InnerJoin_13|outputVar: \[\{\"colNames\":\[\"_path_0\",\"_path_1\"\],\"name\":\"__InnerJoin_13\",\"type\":\"DATASET\"\}\]|inputVar: \{\"rightVar\":\{\"__Project_12\":\"0\"\},\"leftVar\":\{\"__Filter_7\":\"0\"\}\}}", shape=Mrecord];
      "Project_12"->"InnerJoin_13";
      "Project_12"[label="{Project_12|outputVar: \[\{\"colNames\":\[\"_path\"\],\"name\":\"__Project_12\",\"type\":\"DATASET\"\}\]|inputVar: __Filter_11}", shape=Mrecord];
      "Filter_11"->"Project_12";
      "Filter_11"[label="{Filter_11|outputVar: \[\{\"colNames\":\[\],\"name\":\"__Filter_11\",\"type\":\"DATASET\"\}\]|inputVar: __GetVertices_10}", shape=Mrecord];
      "GetVertices_19"->"Filter_11";
      "GetVertices_19"[label="{GetVertices_19|outputVar: \[\{\"colNames\":\[\],\"name\":\"__GetVertices_10\",\"type\":\"DATASET\"\}\]|inputVar: __Filter_7}", shape=Mrecord];
      "Filter_7"->"GetVertices_19";
      "Filter_7"[label="{Filter_7|outputVar: \[\{\"colNames\":\[\"_path\"\],\"name\":\"__Filter_7\",\"type\":\"DATASET\"\}\]|inputVar: __Project_6}", shape=Mrecord];
      "Project_6"->"Filter_7";
      "Project_6"[label="{Project_6|outputVar: \[\{\"colNames\":\[\"_path\"\],\"name\":\"__Project_6\",\"type\":\"DATASET\"\}\]|inputVar: __Filter_5}", shape=Mrecord];
      "Filter_5"->"Project_6";
      "Filter_5"[label="{Filter_5|outputVar: \[\{\"colNames\":\[\],\"name\":\"__Filter_5\",\"type\":\"DATASET\"\}\]|inputVar: __GetNeighbors_4}", shape=Mrecord];
      "GetNeighbors_21"->"Filter_5";
      "GetNeighbors_21"[label="{GetNeighbors_21|outputVar: \[\{\"colNames\":\[\],\"name\":\"__GetNeighbors_4\",\"type\":\"DATASET\"\}\]|inputVar: __IndexScan_1}", shape=Mrecord];
      "IndexScan_17"->"GetNeighbors_21";
      "IndexScan_17"[label="{IndexScan_17|outputVar: \[\{\"colNames\":\[\"_vid\"\],\"name\":\"__IndexScan_1\",\"type\":\"DATASET\"\}\]|inputVar: }", shape=Mrecord];
      "Start_0"->"IndexScan_17";
      "Start_0"[label="{Start_0|outputVar: \[\{\"colNames\":\[\],\"name\":\"__Start_0\",\"type\":\"DATASET\"\}\]|inputVar: }", shape=Mrecord];
  }
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Thu, 22 Jul 2021 13:40:00 CST

该话题在最后一个回复创建后30天后自动关闭。不再允许新的回复。