Skip to content

Commit

Permalink
Relocate RoaringBitmap in shaded jar
Browse files Browse the repository at this point in the history
This fixes compatibility with older spark versions like 3.0.1. We already had an exclusion for RoaringBitmap from spark dependencye with this comment:

> Druid library needs a newer version than what spark 3.0.1 brings

But we were missing to relocate it in the shaded jar.
  • Loading branch information
juhoautio-rovio committed Mar 2, 2023
1 parent 0f6f005 commit b432b81
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,13 @@
<include>com.google.common.**</include>
</includes>
</relocation>
<relocation>
<pattern>org</pattern>
<shadedPattern>repackaged.org.roaringbitmap</shadedPattern>
<includes>
<include>org.roaringbitmap.**</include>
</includes>
</relocation>
</relocations>
</configuration>
</execution>
Expand Down

0 comments on commit b432b81

Please sign in to comment.