Skip to content

Conversation

@andygrove
Copy link
Member

@andygrove andygrove commented Jun 6, 2025

Which issue does this PR close?

Closes #1852

Rationale for this change

WholeStageCodegenSuite contains tests that assert that certain operators, such as joins, appear in a WholeStageCodegenExec. Comet does not support codegen, so these tests will fail when running natively.

We had previously updated some of these tests to make them work by changing the assertions to state that it was ok for Comet operators to not be in a WholeStageCodegenExec and in other cases by disabling Comet, but these are changing the very nature of the tests.

Since we do not support codegen, we should not expect to pass the codegen tests.

What changes are included in this PR?

How are these changes tested?

@codecov-commenter
Copy link

codecov-commenter commented Jun 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.41%. Comparing base (f09f8af) to head (97a19b9).
Report is 246 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1859      +/-   ##
============================================
+ Coverage     56.12%   59.41%   +3.28%     
- Complexity      976     1151     +175     
============================================
  Files           119      130      +11     
  Lines         11743    12667     +924     
  Branches       2251     2376     +125     
============================================
+ Hits           6591     7526     +935     
+ Misses         4012     3930      -82     
- Partials       1140     1211      +71     

☔ 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.

@andygrove andygrove marked this pull request as ready for review June 6, 2025 21:29
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.

lgtm thanks @andygrove

@andygrove andygrove merged commit 9dd6fd5 into apache:main Jun 7, 2025
79 checks passed
@andygrove andygrove deleted the ignore-wholestagecodegen-tests branch June 7, 2025 15:47
YanivKunda pushed a commit to YanivKunda/datafusion-comet that referenced this pull request Jun 8, 2025
YanivKunda pushed a commit to YanivKunda/datafusion-comet that referenced this pull request Jun 8, 2025
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.

Update or ignore tests in Spark SQL WholeStageCodegenSuite

3 participants