Java module import error due to shaded package shaded.parquet.it.unimi.dsi.fastutil
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 1.6k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 33
Description
**Description:**
Due to collision of shaded packages
```java
shaded.parquet.it.unimi.dsi.fastutil
```
in
```java
org.apache.parquet:parquet-avro
```
and
```java
org.apache.parquet:parquet-column
```
it is not possible to use both these dependencies within a modularized java project at the same time.
**How to reproduce:**
- create a maven project with dependency org.apache.parquet:parquet-avro:1.11.1
- declare java module that requires both parquet.avro and parquet.column
- run
```java
mvn compile
```
**Expected behaviour:**
Project should compile without errors.
**Actual behaviour:**
Project fails with compilation errors:
```java
[ERROR] the unnamed module reads package shaded.parquet.it.unimi.dsi.fastutil from both parquet.column and parquet.avro
...
```
**Reproducible example** (same code as in the attached zip file): https://github.com/xCASx/parquet-example
**Reporter**: [Maxim Kolesnikov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=cas)
#### Original Issue Attachments:
- [parquet-example.zip](https://issues.apache.org/jira/secure/attachment/13024544/parquet-example.zip)
**Note**: *This issue was originally created as [PARQUET-2035](https://issues.apache.org/jira/browse/PARQUET-2035). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.