You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "xiangfu0 (via GitHub)" <gi...@apache.org> on 2026/04/04 09:38:18 UTC

[PR] Change default Scala version to 2.13 [pinot]

xiangfu0 opened a new pull request, #18100:
URL: https://github.com/apache/pinot/pull/18100

   ## Summary
   - switch the default Scala toolchain from 2.12 to 2.13 while keeping `-Pscala-2.12` as the fallback
   - make Scala-suffixed Spark/Kafka/chill coordinates follow the selected binary version and refresh `LICENSE-binary`
   - fix the Spark common test that breaks under Scala 2.13 array equality semantics
   
   ## Validation
   - ./mvnw -q help:evaluate -Dexpression=scala.version -DforceStdout
   - ./mvnw -q -Pscala-2.12 help:evaluate -Dexpression=scala.version -DforceStdout
   - ./mvnw -pl pinot-connectors/pinot-spark-3-connector -am -DskipTests test-compile
   - ./mvnw -pl pinot-plugins/pinot-stream-ingestion/pinot-kafka-3.0 -am -DskipTests test-compile
   - ./mvnw -Pscala-2.12 -pl pinot-plugins/pinot-input-format/pinot-confluent-json -am -DskipTests test-compile
   - ./mvnw -pl .,pinot-connectors/pinot-spark-common,pinot-connectors/pinot-spark-3-connector,pinot-plugins/pinot-input-format/pinot-confluent-json -DskipTests spotless:apply checkstyle:check license:format license:check


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


Re: [PR] Change default Scala version to 2.13 [pinot]

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #18100:
URL: https://github.com/apache/pinot/pull/18100#issuecomment-4186901420

   ## [Codecov](https://app.codecov.io/gh/apache/pinot/pull/18100?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 56.01%. Comparing base ([`15b0de3`](https://app.codecov.io/gh/apache/pinot/commit/15b0de3e5bbf807f626359fd32b344b479e2d646?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`962321b`](https://app.codecov.io/gh/apache/pinot/commit/962321b01e3fcd60b9a1368df674b0118937a102?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   > :exclamation:  There is a different number of reports uploaded between BASE (15b0de3) and HEAD (962321b). Click for more details.
   > 
   > <details><summary>HEAD has 36 uploads less than BASE</summary>
   >
   >| Flag | BASE (15b0de3) | HEAD (962321b) |
   >|------|------|------|
   >|unittests1|2|1|
   >|unittests|4|1|
   >|java-11|5|0|
   >|temurin|10|1|
   >|java-21|5|1|
   >|unittests2|2|0|
   >|integration|6|0|
   >|integration1|2|0|
   >|integration2|2|0|
   >|custom-integration1|2|0|
   ></details>
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@             Coverage Diff              @@
   ##             master   #18100      +/-   ##
   ============================================
   - Coverage     63.85%   56.01%   -7.84%     
   + Complexity     1573      778     -795     
   ============================================
     Files          3167     2469     -698     
     Lines        192099   141028   -51071     
     Branches      29604    22651    -6953     
   ============================================
   - Hits         122657    78997   -43660     
   + Misses        59788    55269    -4519     
   + Partials       9654     6762    -2892     
   ```
   
   | [Flag](https://app.codecov.io/gh/apache/pinot/pull/18100/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [custom-integration1](https://app.codecov.io/gh/apache/pinot/pull/18100/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
   | [integration](https://app.codecov.io/gh/apache/pinot/pull/18100/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
   | [integration1](https://app.codecov.io/gh/apache/pinot/pull/18100/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
   | [integration2](https://app.codecov.io/gh/apache/pinot/pull/18100/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
   | [java-11](https://app.codecov.io/gh/apache/pinot/pull/18100/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
   | [java-21](https://app.codecov.io/gh/apache/pinot/pull/18100/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `56.01% <ø> (-7.80%)` | :arrow_down: |
   | [temurin](https://app.codecov.io/gh/apache/pinot/pull/18100/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `56.01% <ø> (-7.84%)` | :arrow_down: |
   | [unittests](https://app.codecov.io/gh/apache/pinot/pull/18100/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `56.01% <ø> (-7.84%)` | :arrow_down: |
   | [unittests1](https://app.codecov.io/gh/apache/pinot/pull/18100/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `56.01% <ø> (-0.03%)` | :arrow_down: |
   | [unittests2](https://app.codecov.io/gh/apache/pinot/pull/18100/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
   </details>
   
   [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/pinot/pull/18100?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


Re: [PR] Change default Scala version to 2.13 [pinot]

Posted by "xiangfu0 (via GitHub)" <gi...@apache.org>.
xiangfu0 merged PR #18100:
URL: https://github.com/apache/pinot/pull/18100


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


Re: [PR] Change default Scala version to 2.13 [pinot]

Posted by "xiangfu0 (via GitHub)" <gi...@apache.org>.
xiangfu0 commented on PR #18100:
URL: https://github.com/apache/pinot/pull/18100#issuecomment-4189117427

   📝 Documentation update PR: https://github.com/pinot-contrib/pinot-docs/pull/696
   
   This documentation PR updates the Pinot docs to reflect the new default Scala 2.13 version. It includes updates to:
   - Spark Pinot Connector README
   - Kafka Connector Versions documentation
   - Code Setup guide with instructions for building with Scala 2.12 using the `-Pscala-2.12` profile


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org