vesoft-inc/nebula

DML(update) after pipeline

オープン

#2,938 opened on 2021/09/27

 (10 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (1,144 件のフォーク)batch import
communityhacktoberfesttype/feature req

Repository metrics

Stars
 (9,828 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Is your feature request related to a problem? Please describe.

  • To batch update tag after certain index scan.
  • To support update conditionally

Describe the solution you'd like Support this:

(root@nebula) [basketballplayer]> LOOKUP ON player | UPDATE VERTEX ON player $-.VertexID SET age = age + 0
[ERROR (-1004)]: SyntaxError: syntax error near `UPDATE'

Mon, 27 Sep 2021 10:23:58 CST
(root@nebula) [basketballplayer]> LOOKUP ON player WHERE player.name == "Tim Duncan" YIELD id(vertex) AS id | UPDATE VERTEX ON player $-.id SET age=1 YIELD age
[ERROR (-1004)]: SyntaxError: syntax error near `UPDATE'

Tue, 23 May 2023 14:03:33 CST

(root@nebula) [basketballplayer]> $var = YIELD "player999" AS vid;UPDATE VERTEX ON player $var.id SET age=1 YIELD age
[ERROR (-1004)]: SyntaxError: Variable is not supported in vid near `$var'

Describe alternatives you've considered Or so other expressions which make more sense than I wasn't aware of?

Additional context

https://discuss.nebula-graph.com.cn/t/topic/5911

コントリビューターガイド