Skip to content

[BUG] CalcitePPLTpchIT is flaky #4261

Description

@Swiddis

What is the bug?

TestQ1 is occasionally failing in main, e.g. https://github.com/opensearch-project/sql/actions/runs/17594180049/job/49982291692.

CalcitePPLTpchIT > testQ1 FAILED
    java.lang.AssertionError: 
    Expected: iterable with items [[], [], [], []] in any order
         but: not matched: <["A","F",37474,37569624.64,35676192.096999995,37101416.222424,25.354533152909337,25419.231826792962,0.0508660351826793,1478]>
        at __randomizedtesting.SeedInfo.seed([7DBF59379F8C433E:DF95364E8E9BEC79]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
        at org.opensearch.sql.util.MatcherUtils.verify(MatcherUtils.java:193)
        at org.opensearch.sql.util.MatcherUtils.verifyDataRows(MatcherUtils.java:160)
        at org.opensearch.sql.calcite.tpch.CalcitePPLTpchIT.testQ1(CalcitePPLTpchIT.java:59)

At a quick glance, seems like data is being fetched before a refresh runs.

How can one reproduce the bug?
With great care.

What is the expected behavior?
Should pass consistently.

What is your host/environment?

  • OS: Mac OS 13
  • Java 24

Do you have any screenshots?
N/A

Do you have any additional context?
N/A

Activity

  1. added
    bug
    on Sep 9, 2025
  2. changed the title [-][BUG] CalciteTcphIT is flaky[/-] [+][BUG] CalcitePPLTcphIT is flaky[/+] on Sep 9, 2025
  3. added
    testing
    PPL
    calcite
    on Sep 9, 2025
  4. added
    flaky-test
    and removed on Sep 16, 2025
  5. Swiddis commented on Sep 16, 2025

    @Swiddis
    CollaboratorAuthor

    Attaching an example failure log for posterity: logs_45137514781.zip

  6. LantaoJin commented on Nov 10, 2025

    @LantaoJin
    Member

    Not seen this issue any more.

  7. moved this from Not Started to Done in PPL Trackeron Nov 10, 2025
  8. 8 remaining items

  9. assigned and unassigned on Feb 3, 2026
  10. reopened this on Feb 4, 2026
  11. assigned and unassigned on Feb 4, 2026
  12. changed the title [-][BUG] CalcitePPLTcphIT is flaky[/-] [+][BUG] CalcitePPLTpchIT is flaky[/+] on Feb 4, 2026
  13. qianheng-aws commented on Apr 14, 2026

    @qianheng-aws
    Collaborator

    Flakey failure. Didn't found in recent CIs. Reopen it once meeting again.

  14. added
    triage/parked
    on Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

PPLbugcalciteflaky-testtestingtriage/parked

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions