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 advanced SQL analytics to streaming cypher rows before returning results to the client #3610

Open
jexp opened this issue Jun 3, 2023 · 0 comments

Comments

@jexp
Copy link
Member

jexp commented Jun 3, 2023

Imagine there was an aggregation function, apoc.agg.analytics("SQL statement", {row-map}, optional SQL parameters) yield map/row.

By e.g. embedding duckdb JDBC we could create a temporary table/CTE over the inputs and run the provided SQL statement including WINDOW functions, PIVOT etc.

The JDBC driver would ofc, be an optional jar.

We could even have arbitrary JDBC URLs, where duckdb would just be one option that runs in process, to delegate complex analytics to an analytics db.

Or somehow as a subquery / docs?

@jexp jexp changed the title Add advanced SQL analytics to streaming cypher results before returning the client Add advanced SQL analytics to streaming cypher rows before returning results to the client Jun 3, 2023
@jexp jexp moved this to Todo in APOC Extended Larus May 16, 2024
@vga91 vga91 moved this from Todo to In Progress in APOC Extended Larus Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

2 participants