Skip to content

Nested field query improvement #52

@dai-chen

Description

@dai-chen

Is your feature request related to a problem? Please describe.
Nested field query is supported by following PartiQL specification: https://github.com/opensearch-project/sql/blob/main/docs/user/beyond/partiql.rst. There are limitations regarding the nested levels and query types that needs improvement.

  1. When using * in select, myIndex.field.subFieldA > myIndex.field.subFieldB fails opendistro-for-elasticsearch/sql#1055: Comparison between nested field
  2. SELECT nested() cannot get sub properties opendistro-for-elasticsearch/sql#963: ?
  3. Matching multiple nested fields opendistro-for-elasticsearch/sql#797: Nested field involved in join
  4. SELECT * return extra column for nested field opendistro-for-elasticsearch/sql#399: Select *
  5. Aggregating over nested field doesn't work for default format opendistro-for-elasticsearch/sql#398: Aggregate over nested field
  6. Support LEFT JOIN, WHERE and GROUP BY on Nested Field. opendistro-for-elasticsearch/sql#245: Nested field involved in join
  7. Aggregation query with nested field returns garbage opendistro-for-elasticsearch/sql#155: Aggregate over nested field
  8. Lack of support for nested documents with more than one level of nesting opendistro-for-elasticsearch/sql#152: Deep nested field
  9. Where clause in nested queries does not return expected results. opendistro-for-elasticsearch/sql#87: Filter nested field

Describe the solution you'd like
N/A

Describe alternatives you've considered
N/A

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Not Started

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions