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

[FEATURE] P1 Nested Function Support #1806

Open
forestmvey opened this issue Jul 4, 2023 · 0 comments
Open

[FEATURE] P1 Nested Function Support #1806

forestmvey opened this issue Jul 4, 2023 · 0 comments

Comments

@forestmvey
Copy link
Collaborator

Is your feature request related to a problem?
The nested query is supported in the legacy engine and not the V2 engine. As Legacy engine is becoming deprecated we need to support this functionality in the V2 engine. Aggregation nested queries in the legacy engine are only supported with json format. This give a lower priority for adding support in the V2 engine for nested aggregation queries.

Example:

SELECT * FROM nested_objects WHERE nested(message, message.info = 'b');
SELECT sum(reverse_nested(comment.likes,'~comment')) FROM nested_objects GROUP BY nested(message.info);
SELECT count(*) FROM nested_objects HAVING nested(message.info)

What solution would you like?
Port over functionality for the nested query to the V2 engine with the same functionality as in Legacy.

Release-Schedule

  • P[1] WHERE clause support Syntax: nested(path, expression)
  • P[1] GROUP BY clause support
  • P[1] reverse_nested support
  • P[1] HAVING clause support

What alternatives have you considered?
N/A

Do you have any additional context?
N/A

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

1 participant