vesoft-inc/nebula

DML(update) after pipeline

Aperta

#2938 aperta il 27 set 2021

 (10 commenti) (0 reazioni) (0 assegnatari)C++ (1144 fork)batch import
communityhacktoberfesttype/feature req

Metriche repository

Star
 (9828 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor