Skip to content

chore: fix pr_build*.yml#2434

Merged
comphead merged 3 commits intoapache:mainfrom
comphead:dev1
Sep 21, 2025
Merged

chore: fix pr_build*.yml#2434
comphead merged 3 commits intoapache:mainfrom
comphead:dev1

Conversation

@comphead
Copy link
Copy Markdown
Contributor

@comphead comphead commented Sep 21, 2025

Which issue does this PR close?

Currently both CI pipelines pr_build_linux.yml and pr_build_macos.yml fail silently on

.github/workflows/pr_build_linux.yml#L1
(Line: 153, Col: 20): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.profile.maven_opts != 'Spark 3.4, JDK 11, Scala 2.12' && 'org.apache.spark.sql.CometToPrettyStringSuite' || ''

And the CI runs much less tests than expected

Closes #.

Rationale for this change

What changes are included in this PR?

How are these changes tested?

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Sep 21, 2025

Codecov Report

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

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2434      +/-   ##
============================================
+ Coverage     56.12%   58.03%   +1.91%     
- Complexity      976     1401     +425     
============================================
  Files           119      147      +28     
  Lines         11743    13465    +1722     
  Branches       2251     2341      +90     
============================================
+ Hits           6591     7815    +1224     
- Misses         4012     4417     +405     
- Partials       1140     1233      +93     

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

Struct(fields) => fields
.iter()
.all(|f| can_cast_to_string(f.data_type(), options)),
.all(|f| can_cast_to_string(f.data_type(), _options)),
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

clippy

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for this. I was working on fixing this clippy warning myself

array.foreach(v => {
val casted = v.asInstanceOf[lang.Byte]
listLiteralBuilder.addByteValues(casted.intValue())
listLiteralBuilder.addByteValues(
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixing the test as the build was not running the test suite was totally ignored

@comphead comphead requested a review from andygrove September 21, 2025 20:58
@comphead comphead merged commit fbca163 into apache:main Sep 21, 2025
104 checks passed
coderfender pushed a commit to coderfender/datafusion-comet that referenced this pull request Dec 13, 2025
* chore: fix pr_build*.yml

* clippy

* chore: fix pr_build*.yml
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.

4 participants