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

Calling a procedure inside periodic.iterate returns "query failed" #439

Open
karmenrabar opened this issue Jan 19, 2024 · 0 comments
Open
Labels
community community Effort - Medium Effort - Medium feature feature Frequency - Monthly Frequency - Monthly Priority - Later Priority - Later Reach - VeryFew Reach - VeryFew Severity - S3 Severity - S3

Comments

@karmenrabar
Copy link

Is calling a query module create.node inside a periodic.iterate supported? Or more generally, can an argument of a query module also be a query module?

Running the following query returns: Query failed: periodic.iterate: Error while executing periodic iterate!

CALL periodic.iterate(
  'WITH [1,2,3] as nodes UNWIND nodes as node return node',
  'CALL create.node(["Person"], {name: "A"}) YIELD node RETURN node',
  {batch_size:2000}
) YIELD success
return success

But, running this query works well.

CALL periodic.iterate(
  'WITH [1,2,3] as nodes UNWIND nodes as node return node',
  'CREATE (p:Person {name: "A"})',
  {batch_size:2000}
) YIELD success
return success

Source and context: discord

@karmenrabar karmenrabar added feature feature Importance - I3 Importance - I3 Severity - S3 Severity - S3 Effort - Unknown Effort - Unknown community community labels Jan 19, 2024
@DavIvek DavIvek added Effort - Medium Effort - Medium and removed Effort - Unknown Effort - Unknown labels Jan 23, 2024
@hal-eisen-MG hal-eisen-MG added Priority - Later Priority - Later and removed Priority - Later Priority - Later labels Feb 4, 2024
@hal-eisen-MG hal-eisen-MG added Priority - Later Priority - Later Priority - Next Priority - Next and removed Priority - Later Priority - Later labels Feb 18, 2024
@hal-eisen-MG hal-eisen-MG added Priority - Later Priority - Later and removed Priority - Next Priority - Next labels Feb 26, 2024
@katarinasupe katarinasupe added Frequency - Monthly Frequency - Monthly Reach - VeryFew Reach - VeryFew and removed Importance - I3 Importance - I3 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community community Effort - Medium Effort - Medium feature feature Frequency - Monthly Frequency - Monthly Priority - Later Priority - Later Reach - VeryFew Reach - VeryFew Severity - S3 Severity - S3
Projects
Development

No branches or pull requests

4 participants