Skip to content

chore: new TPC-DS golden plans#2426

Merged
mbutrovich merged 1 commit intoapache:mainfrom
mbutrovich:new_plans
Sep 20, 2025
Merged

chore: new TPC-DS golden plans#2426
mbutrovich merged 1 commit intoapache:mainfrom
mbutrovich:new_plans

Conversation

@mbutrovich
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

Noticed a test branch failing make test-jvm locally, switch to main and that fails too. Unclear why CI didn't catch this. I think it's from #2409 since it's all hash aggregates.

What changes are included in this PR?

New plans.

How are these changes tested?

https://datafusion.apache.org/comet/contributor-guide/development.html#plan-stability-testing

@mbutrovich mbutrovich changed the title fix: new golden plans fix: new TPC-DS golden plans Sep 20, 2025
@codecov-commenter
Copy link

codecov-commenter commented Sep 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.82%. Comparing base (f09f8af) to head (a9738c0).
⚠️ Report is 523 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2426      +/-   ##
============================================
+ Coverage     56.12%   57.82%   +1.70%     
- Complexity      976     1400     +424     
============================================
  Files           119      147      +28     
  Lines         11743    13464    +1721     
  Branches       2251     2341      +90     
============================================
+ Hits           6591     7786    +1195     
- Misses         4012     4444     +432     
- Partials       1140     1234      +94     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mbutrovich mbutrovich changed the title fix: new TPC-DS golden plans chore: new TPC-DS golden plans Sep 20, 2025
Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is probably because of #2409

I checked couple of queries it looks good, the produced attributes are likely to be shown in separate square brackets section

@comphead
Copy link
Contributor

like here

                     CometHashAggregate [sr_return_amt] [sr_customer_sk,sr_store_sk,sum]

However I'm wondering why unscaled sum still in place

                      CometHashAggregate [sum] [ctr_customer_sk,ctr_store_sk,ctr_total_return,sr_customer_sk,sr_store_sk,sum(UnscaledValue(sr_return_amt))]

I'll check this later and if needed regerenerate the golden plans

@mbutrovich mbutrovich merged commit a4c437c into apache:main Sep 20, 2025
100 checks passed
@comphead
Copy link
Contributor

it is okay in terms of plan validity, didn't find invalid plan nodes, but Comet display for nodes is slightly different than Spark

@mbutrovich mbutrovich deleted the new_plans branch September 20, 2025 20:52
coderfender pushed a commit to coderfender/datafusion-comet that referenced this pull request Dec 13, 2025
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