ClickHouse / ClickHouse/clickhouse-java
Duplicate Classes while importing clickhouse-jdbc
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 636
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 29
Description
## Description
While importing in maven project only this dependency
com.clickhouse
clickhouse-jdbc
0.7.2
http
I receive the following warnings:
[WARNING] Found duplicate and different classes in [com.clickhouse:clickhouse-data:0.7.2, com.clickhouse:clickhouse-jdbc:0.7.2:jar:http, com.clickhouse:jdbc-v2:0.7.2]:
[WARNING] com.clickhouse.data.stream.Lz4InputStream
[WARNING] com.clickhouse.data.stream.Lz4OutputStream
### Expected Behaviour
No duplicated classes must be found
Contributor guide
Research direction
Start by reproducing the Maven import with com.clickhouse:clickhouse-jdbc:0.7.2 using the http classifier, then inspect the resolved dependencies for clickhouse-data and jdbc-v2. Focus on the duplicate classes com.clickhouse.data.stream.Lz4InputStream and Lz4OutputStream. Done means the dependency no longer produces duplicate-class warnings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100