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

Support for user defined procedures #927

Open
amogkam opened this issue Jun 18, 2019 · 3 comments
Open

Support for user defined procedures #927

amogkam opened this issue Jun 18, 2019 · 3 comments

Comments

@amogkam
Copy link

amogkam commented Jun 18, 2019

Is there any plan to support user-defined procedures and the CALL interface?

@Mats-SX
Copy link
Member

Mats-SX commented Jun 20, 2019

Hello @amogkam and thanks for reaching out to us.

This is not one of our top topics currently, because it isn't clear what we would offer the procedure author in terms of internal API. Would it be Spark-specific or an okapi abstraction? Do you have a suggestion or any requirements for how to design this? What sort of procedure would you like to be able to write?

Regards
Mats

@amogkam
Copy link
Author

amogkam commented Jun 21, 2019

I was thinking some sort of interface which allows users to write their own class that takes in a PropertyGraph and outputs a CypherResult, and surface this procedure as a new procedure in the language. For example, I want to be able to write new graph algorithms in Spark or Flink and have it be callable in a cypher query.

@Mats-SX
Copy link
Member

Mats-SX commented Jun 24, 2019

That's a pretty neat idea. I'll forward these to our prioritisation agenda.

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

No branches or pull requests

2 participants