vesoft-inc/nebula

DML(update) after pipeline

Ouverte

#2 938 ouverte le 27 sept. 2021

 (10 commentaires) (0 réaction) (0 personne assignée)C++ (1 144 forks)batch import
communityhacktoberfesttype/feature req

Métriques du dépôt

Stars
 (9 828 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur