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

Add a way to externalize the Cypher to execute per batch #286

Closed
InverseFalcon opened this issue Feb 25, 2020 · 1 comment
Closed

Add a way to externalize the Cypher to execute per batch #286

InverseFalcon opened this issue Feb 25, 2020 · 1 comment

Comments

@InverseFalcon
Copy link

Feature description

In the Cypher template of the sink configuration, you can currently provide Cypher that will be executed per row of the batch (after the UNWINDing of the batch as event).

It would be useful to provide an alternate approach which can reference an external Cypher file and use that for execution (such that the Cypher from the file is amended, the UNWIND being appended to the beginning, and then cached so the file read doesn't happen per batch).

This would pair nicely with #155 , specifically a procedure to refresh the Cypher by rereading the file, allowing runtime changes based on changes to the Cypher in the file.

How this feature can improve the project?

This adds runtime flexibility, and decouples the Cypher from the template file.

@moxious
Copy link
Contributor

moxious commented Oct 1, 2020

Closing this specifically because I think it's a duplicate of the referenced issue above -- which we've updated with status & discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants