Skip to content

Conversation

@manuzhang
Copy link
Member

@manuzhang manuzhang commented Jan 8, 2026

roaringbitmap was no longer published to https://mvnrepository.com/artifact/org.roaringbitmap/RoaringBitmap after 1.3.0, but to https://jitpack.io as com.github.RoaringBitmap.RoaringBitmap:roaringbitmap

@github-actions github-actions bot added the build label Jan 8, 2026
@manuzhang manuzhang force-pushed the upgrade-roaringbitmap branch from a0f2b0f to 9b38f3d Compare January 8, 2026 04:27
@github-actions github-actions bot added the spark label Jan 8, 2026
@manuzhang manuzhang force-pushed the upgrade-roaringbitmap branch from 9b38f3d to 37dee6b Compare January 8, 2026 06:38
@manuzhang manuzhang changed the title Build: Bump roaringbitmap from 1.3.0 to 1.5.3 Build: Bump roaringbitmap from 1.3.0 to 1.6.0 Jan 8, 2026
@manuzhang manuzhang force-pushed the upgrade-roaringbitmap branch from 37dee6b to cd3e65b Compare January 8, 2026 09:05
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the RoaringBitmap dependency from version 1.3.0 to 1.6.0, migrating from Maven Central (org.roaringbitmap:RoaringBitmap) to JitPack (com.github.RoaringBitmap.RoaringBitmap:roaringbitmap) as the publishing location changed after version 1.3.0.

Key Changes:

  • Updated RoaringBitmap version from 1.3.0 to 1.6.0 in the version catalog
  • Changed the Maven coordinates from org.roaringbitmap:RoaringBitmap to com.github.RoaringBitmap.RoaringBitmap:roaringbitmap
  • Updated relocation paths in all Spark runtime build files to reflect the new package structure

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
gradle/libs.versions.toml Updated RoaringBitmap version to 1.6.0 and changed Maven coordinates to JitPack format
spark/v4.1/build.gradle Added exclusion for old org.roaringbitmap group and updated relocation path for new package structure
spark/v4.0/build.gradle Updated relocation path to match new RoaringBitmap package structure
spark/v3.5/build.gradle Updated relocation path to match new RoaringBitmap package structure
spark/v3.4/build.gradle Updated relocation path to match new RoaringBitmap package structure

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

LGTM the gradle usage is documented at https://github.com/RoaringBitmap/RoaringBitmap?tab=readme-ov-file#usage-within-a-gradle-project

Not sure if there's additional considerations when adding a new custom Maven repository, we should double check that

Copy link
Contributor

@amogh-jahagirdar amogh-jahagirdar left a comment

Choose a reason for hiding this comment

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

I think we'll need to double check any LICENSE contents that needs to be updated as well, looks like KC and the open API modules would need to be updated

@manuzhang
Copy link
Member Author

@amogh-jahagirdar Updated LICENSE files. BTW, do you know why the LICENSE file in Filnk doesn't have version with it?

@manuzhang manuzhang force-pushed the upgrade-roaringbitmap branch from 39d7b65 to f6d39d5 Compare January 14, 2026 10:53
Comment on lines 280 to 282
integrationImplementation ("org.apache.spark:spark-hive_${scalaVersion}:${libs.versions.spark41.get()}") {
exclude group: 'org.roaringbitmap'
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this exclusion strictly required? Or are we just trying to slim down the spark-hive test dependencies?

Copy link
Member Author

Choose a reason for hiding this comment

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

Otherwise, there will be two versions of Roaringbitmap on the test classpath.

Copy link
Contributor

Choose a reason for hiding this comment

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

That makes sense, though is this not an issue also for the other spark versions? Did something get changed specifically within 4.1?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nice catch! I forgot to update for other Spark versions as well.

Copy link
Contributor

@amogh-jahagirdar amogh-jahagirdar left a comment

Choose a reason for hiding this comment

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

Just had a question on why the exclusion is required, but other than that looks OK to me.

No, tbh I don't know why Flink doesn't track the explicit version. I don't think it's strictly required, at least as per https://infra.apache.org/licensing-howto.html#alv2-dep but yeah it is inconsistent with the other modules.

@manuzhang manuzhang force-pushed the upgrade-roaringbitmap branch from f6d39d5 to ca29f72 Compare January 14, 2026 16:44
@manuzhang manuzhang force-pushed the upgrade-roaringbitmap branch from ca29f72 to ad01e6b Compare January 14, 2026 16:46
Copy link
Contributor

@amogh-jahagirdar amogh-jahagirdar left a comment

Choose a reason for hiding this comment

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

Thanks @manuzhang! since it's a fairly critical dependency I'll give it another day for other people to chime in before merging.

Copy link
Contributor

@kevinjqliu kevinjqliu 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 manu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants