Skip to content

Conversation

cfmcgrady
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

What changes are included in this PR?

How are these changes tested?

@codecov-commenter
Copy link

codecov-commenter commented Sep 19, 2025

Codecov Report

❌ Patch coverage is 20.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.35%. Comparing base (f09f8af) to head (f4ff894).
⚠️ Report is 549 commits behind head on main.

Files with missing lines Patch % Lines
.../scala/org/apache/comet/serde/QueryPlanSerde.scala 0.00% 2 Missing and 1 partial ⚠️
...scala/org/apache/comet/expressions/CometCast.scala 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2425      +/-   ##
============================================
+ Coverage     56.12%   58.35%   +2.23%     
- Complexity      976     1436     +460     
============================================
  Files           119      146      +27     
  Lines         11743    13515    +1772     
  Branches       2251     2352     +101     
============================================
+ Hits           6591     7887    +1296     
- Misses         4012     4393     +381     
- Partials       1140     1235      +95     

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

}

test("cast ArrayType to StringType") {
sql("set spark.comet.explainFallback.enabled=true")
Copy link
Member

Choose a reason for hiding this comment

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

We tend to use withSQLConf to set configs in tests so that the config change is isolated to the specific test.

Suggested change
sql("set spark.comet.explainFallback.enabled=true")
withSQLConf(CometConf.COMET_EXPLAIN_FALLBACK_ENABLED.key -> "true") {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, I see, this is just for debugging GA failures.

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