opensearch-project / opensearch-project/sql

[FEATURE] Investigation on enable top-down optimizer in Calcite

Open
#4,859 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement wontfix
Dominant language
Java
Stars
176
Forks
229
Avg merge
2d 21h
Merged PRs (30d)
43

Description

Is your feature request related to a problem?
https://issues.apache.org/jira/browse/CALCITE-3916

Calcite has introduced top-down optimizer, which is more efficient than the old version. It will accelerate the optimizing process a lot by pruning. Let’s see if we should turn it on by default for our PPL optimization.

What solution would you like?
A clear and concise description of what you want to happen.

What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.

Do you have any additional context?

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 by reading Apache Calcite issue CALCITE-3916 and the discussion in issues #4842 and #4859 about the top-down optimizer and push-down rules. Determine whether enabling it by default is compatible with the project's rules, and document or implement a clear decision for PPL optimization.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.