Java module import error due to shaded package shaded.parquet.it.unimi.dsi.fastutil
- Ngôn ngữ chính
- Java
- Star
- 3.1k
- Fork
- 1.6k
- Merge trung bình
- 3 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 33
Mô tả
**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.*
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Bắt đầu với dự án Maven parquet-example được liên kết và chạy mvn compile với cả hai yêu cầu mô-đun. So sánh gói shaded do parquet-avro và parquet-column tạo ra; được xem là hoàn tất khi dự án mô-đun biên dịch mà không gặp lỗi split-package.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- build-system
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100