opensearch-project / opensearch-project/sql

Nested field query improvement

Open
#52 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement field types support PPL SQL
Dominant language
Java
Stars
176
Forks
229
Avg merge
2d 21h
Merged PRs (30d)
43

Description

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. https://github.com/opendistro-for-elasticsearch/sql/issues/1055: Comparison between nested field
  2. https://github.com/opendistro-for-elasticsearch/sql/issues/963: ?
  3. https://github.com/opendistro-for-elasticsearch/sql/issues/797: Nested field involved in join
  4. https://github.com/opendistro-for-elasticsearch/sql/issues/399: Select *
  5. https://github.com/opendistro-for-elasticsearch/sql/issues/398: Aggregate over nested field
  6. https://github.com/opendistro-for-elasticsearch/sql/issues/245: Nested field involved in join
  7. https://github.com/opendistro-for-elasticsearch/sql/issues/155: Aggregate over nested field
  8. https://github.com/opendistro-for-elasticsearch/sql/issues/152: Deep nested field
  9. https://github.com/opendistro-for-elasticsearch/sql/issues/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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the PartiQL specification linked in the issue, then review the nine related issues covering nested comparisons, joins, aggregation, selection, filtering, and deep nesting. Define the specific nested query types and nesting levels to improve before identifying the relevant implementation and tests; the issue does not name files or an acceptance criterion.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.