Skip to content

[FEATURE] P0 Nested Function Support #1111

@forestmvey

Description

@forestmvey

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.

Example:

SELECT nested(message.info) FROM nested_objects;
SELECT * FROM nested_objects WHERE nested(message.info)='b';
SELECT nested(message.info) FROM nested_objects ORDER BY nested(message.info);
SELECT nested(message.*) FROM nested_objects;

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[0] SELECT clause support
    • P[0] DOT notation field support - Released: 1490
    • P[0] * support as inner field, Example: nestedField.innerFields.* - Released: 1773
  • P[0] WHERE clause support; one syntax will be prioritized.
    • P[0] Syntax: nested(field | field, path) OPERATOR LITERAL - Released: 1657
  • P[0] ORDER BY clause support - Released: 1789

What alternatives have you considered?
N/A

Do you have any additional context?
N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions