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 UDF function #3946

Open
zhaojunnana opened this issue Feb 25, 2022 · 4 comments
Open

Support UDF function #3946

zhaojunnana opened this issue Feb 25, 2022 · 4 comments
Labels
community Source: who proposed the issue type/feature req Type: feature request

Comments

@zhaojunnana
Copy link
Contributor

We hope that Nebula graph can support functions similar to neo4j UDF, and support user-defined computing to push down to the nebula graph kernel.
We have a lot of aggregation and simple real-time computing needs online. If the database itself does not support the UDF function, a large number of returned results will be returned from graphd, so that the real-time performance can not meet the requirements.
Due to the limitation of current lexical analysis, it is difficult to support complete UDF function immediately. Consider parsing the keyword of UDF during lexical analysis, and then perform the calculation of UDF after the normal ngql statement is executed. It feels that the implementation difficulty may be less.

@awsl-dbq
Copy link

awsl-dbq commented Mar 4, 2022

maybe we can follow the UDF in clickhouse , ClickHouse/ClickHouse#11
shoulders of giants

@arcosx
Copy link

arcosx commented Mar 9, 2022

Hi, a little later I will try to submit an issue about Wasm-based UDF, which I submitted at the Hackathon held by Nebula last year, and will put effort to improve it in the future.
The link is the idea at the time and may be modified in the future.
We can discuss with the Nebula developers.

@awsl-dbq
Copy link

excuse me , could you share the document of the link in github instead of docs.google.com.
A repo would be fine . so we can discuss it with issues or PRs.

@arcosx
Copy link

arcosx commented Mar 21, 2022

excuse me , could you share the document of the link in github instead of docs.google.com. A repo would be fine . so we can discuss it with issues or PRs.

Sorry for the delay, I've added some details inside this issue.#4060

@Sophie-Xie Sophie-Xie added the community Source: who proposed the issue label Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Source: who proposed the issue type/feature req Type: feature request
Projects
None yet
Development

No branches or pull requests

4 participants