Skip to content

[Backport 2.19-dev] Merge the implementation of timechart and chart (#4755)#4796

Merged
LantaoJin merged 1 commit intoopensearch-project:2.19-devfrom
yuancu:backport/backport-4755-to-2.19-dev
Nov 13, 2025
Merged

[Backport 2.19-dev] Merge the implementation of timechart and chart (#4755)#4796
LantaoJin merged 1 commit intoopensearch-project:2.19-devfrom
yuancu:backport/backport-4755-to-2.19-dev

Conversation

@yuancu
Copy link
Copy Markdown
Collaborator

@yuancu yuancu commented Nov 13, 2025

Description

Backport #4755 to 2.19-dev

(cherry picked from commit daf1795)

Commit Message

  • Remove visitTimechart

  • Migrate per functions to Chart

  • Update CalcitePPLTimechartTest

  • Migrate TimecharTest to use Chart

  • Fix AST relevant tests

  • Remove Timechart AST object in favor of Chart

  • Update expected plans for timechart

  • Update doctest for timechart

  • add 2 more indicies for test purpose
  • Add yaml tests for 4581, 4582, and 4632

  • Allow flexible parameter positions for chart and timechart

  • Simplify CalciteTimechartCommandIT


Related Issues

Resolves #4581, resolves #4582, resolves #4632

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • New PPL command checklist all confirmed.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff or -s.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…ct#4755)

* Remove visitTimechart

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>

* Migrate per functions to Chart

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>

* Update CalcitePPLTimechartTest

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>

* Migrate TimecharTest to use Chart

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>

* Fix AST relevant tests

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>

* Remove Timechart AST object in favor of Chart

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>

* Update expected plans for timechart

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>

* Update doctest for timechart
- add 2 more indicies for test purpose

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>

* Add yaml tests for 4581, 4582, and 4632

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>

* Allow flexible parameter positions for chart and timechart

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>

* Simplify CalciteTimechartCommandIT

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>

---------

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>
(cherry picked from commit daf1795)
@LantaoJin LantaoJin merged commit 9bdd75c into opensearch-project:2.19-dev Nov 13, 2025
45 checks passed
@yuancu yuancu deleted the backport/backport-4755-to-2.19-dev branch November 13, 2025 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants