Skip to content

spark and commons upgrade #91

Merged
MatloaItumeleng merged 5 commits intomasterfrom
feature/74-spark3-upgrade
Apr 20, 2026
Merged

spark and commons upgrade #91
MatloaItumeleng merged 5 commits intomasterfrom
feature/74-spark3-upgrade

Conversation

@MatloaItumeleng
Copy link
Copy Markdown
Contributor

Release notes:

  • Upgrades Spark 2.4 with Spark 3.

    • Scala crossbuild focus Scala 2.12 and Scala 2.13.
    • target Java 1.11
  • Upgrades spark-commons to compatible version.

closes #74

Copy link
Copy Markdown
Contributor

@ABLL526 ABLL526 left a comment

Choose a reason for hiding this comment

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

LGTM, but the checks are failing. I will approve once that is fixed.

@MatloaItumeleng MatloaItumeleng marked this pull request as draft April 9, 2026 08:45
@MatloaItumeleng
Copy link
Copy Markdown
Contributor Author

Few things picked up addressing them seems Spark’s generated expression's has changed on some tests e.g for representation of an empty array literal

  • expected: ... ELSE [[]] ...
  • actual: ... ELSE [ARRAY()] ...

…& Java 11 normalised ClassCastException message format
@github-actions
Copy link
Copy Markdown

JaCoCo code coverage report - scala 2.12.12

Metric (instruction) Coverage Threshold Status
Overall 81.57% 80.0%
Changed Files 0.0% 80.0%
Report Coverage (O/Ch) Threshold (O/Ch) Status (O/Ch)
spark-data-standardization Jacoco Report - scala:2.12.20 81.57% / 0.0% 80.0% / 80.0% ✅/✅
File Path Coverage Threshold Status

No changed file in reports.

@MatloaItumeleng MatloaItumeleng marked this pull request as ready for review April 10, 2026 11:30
@ABLL526
Copy link
Copy Markdown
Contributor

ABLL526 commented Apr 10, 2026

@MatloaItumeleng Looks all good. Nice work finding those errors and fixing them. It still seems there is one test for Spark 2.11.12 this might need to be removed as well. I will approve once completed.

dk1844
dk1844 previously approved these changes Apr 13, 2026
Copy link
Copy Markdown
Contributor

@dk1844 dk1844 left a comment

Choose a reason for hiding this comment

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

One comment for the cast message normalization.
Also is there a project (even a sample one) that uses this library that would be able to test-use the updated spark version to check the correctness? (just a thought)

ABLL526
ABLL526 previously approved these changes Apr 13, 2026
Copy link
Copy Markdown
Contributor

@ABLL526 ABLL526 left a comment

Choose a reason for hiding this comment

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

Looks Good

@MatloaItumeleng MatloaItumeleng dismissed stale reviews from ABLL526 and dk1844 via d823048 April 14, 2026 09:17
@github-actions
Copy link
Copy Markdown

JaCoCo code coverage report - scala 2.12.20

Metric (instruction) Coverage Threshold Status
Overall 81.57% 80.0%
Changed Files 0.0% 80.0%
Report Coverage (O/Ch) Threshold (O/Ch) Status (O/Ch)
spark-data-standardization Jacoco Report - scala:2.12.20 81.57% / 0.0% 80.0% / 80.0% ✅/✅
File Path Coverage Threshold Status

No changed file in reports.

Copy link
Copy Markdown
Contributor

@dk1844 dk1844 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@ABLL526 ABLL526 left a comment

Choose a reason for hiding this comment

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

LGTM

@MatloaItumeleng MatloaItumeleng merged commit bbc354e into master Apr 20, 2026
5 checks passed
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.

Replace Spark 2.4 with Spark 3 support

3 participants