Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Java][FlightSQL] Cleanup flightsql jdbc driver dependencies #40952

Closed
laurentgo opened this issue Apr 2, 2024 · 1 comment
Closed

[Java][FlightSQL] Cleanup flightsql jdbc driver dependencies #40952

laurentgo opened this issue Apr 2, 2024 · 1 comment

Comments

@laurentgo
Copy link
Collaborator

laurentgo commented Apr 2, 2024

Describe the bug, including details regarding any error messages, version, and platform.

The module flight-sql-jdbc-driver declares explicitly multiple dependencies which would be transitively captured if the module would only depend on flight-sql-driver-core. This can cause the module to declare dependencies which are not used anymore, or use a different version compared to what was declared in other modules. Indeed, the driver includes joda dependency which is not used in the rest of the code anymore.

Component(s)

Java

laurentgo added a commit to laurentgo/arrow that referenced this issue Apr 2, 2024
…endencies

Module `flight-sql-jdbc-driver` declares multiple dependencies, some
(joda and bytebuddy) are not used anymore (but still packaged).

Clean up list of dependencies declared in flight-sql-jdbc-driver modules
as all of them are transitive dependencies from flight-sql-jdbc-core.
lidavidm pushed a commit that referenced this issue Apr 3, 2024
…ies (#40953)

### Rationale for this change

Module `flight-sql-jdbc-driver` declares multiple dependencies, some (joda) are not used anymore (but still packaged).

### What changes are included in this PR?

Clean up list of dependencies declared in flight-sql-jdbc-driver modules as all of them are transitive dependencies from flight-sql-jdbc-core.

### Are these changes tested?

Yes: build + existing shading test

### Are there any user-facing changes?

No
* GitHub Issue: #40952

Authored-by: Laurent Goujon <laurent@apache.org>
Signed-off-by: David Li <li.davidm96@gmail.com>
@lidavidm
Copy link
Member

lidavidm commented Apr 3, 2024

Issue resolved by pull request 40953
#40953

@lidavidm lidavidm added this to the 16.0.0 milestone Apr 3, 2024
@lidavidm lidavidm closed this as completed Apr 3, 2024
tolleybot pushed a commit to tmct/arrow that referenced this issue May 2, 2024
…endencies (apache#40953)

### Rationale for this change

Module `flight-sql-jdbc-driver` declares multiple dependencies, some (joda) are not used anymore (but still packaged).

### What changes are included in this PR?

Clean up list of dependencies declared in flight-sql-jdbc-driver modules as all of them are transitive dependencies from flight-sql-jdbc-core.

### Are these changes tested?

Yes: build + existing shading test

### Are there any user-facing changes?

No
* GitHub Issue: apache#40952

Authored-by: Laurent Goujon <laurent@apache.org>
Signed-off-by: David Li <li.davidm96@gmail.com>
tolleybot pushed a commit to tmct/arrow that referenced this issue May 4, 2024
…endencies (apache#40953)

### Rationale for this change

Module `flight-sql-jdbc-driver` declares multiple dependencies, some (joda) are not used anymore (but still packaged).

### What changes are included in this PR?

Clean up list of dependencies declared in flight-sql-jdbc-driver modules as all of them are transitive dependencies from flight-sql-jdbc-core.

### Are these changes tested?

Yes: build + existing shading test

### Are there any user-facing changes?

No
* GitHub Issue: apache#40952

Authored-by: Laurent Goujon <laurent@apache.org>
Signed-off-by: David Li <li.davidm96@gmail.com>
rok pushed a commit to tmct/arrow that referenced this issue May 8, 2024
…endencies (apache#40953)

### Rationale for this change

Module `flight-sql-jdbc-driver` declares multiple dependencies, some (joda) are not used anymore (but still packaged).

### What changes are included in this PR?

Clean up list of dependencies declared in flight-sql-jdbc-driver modules as all of them are transitive dependencies from flight-sql-jdbc-core.

### Are these changes tested?

Yes: build + existing shading test

### Are there any user-facing changes?

No
* GitHub Issue: apache#40952

Authored-by: Laurent Goujon <laurent@apache.org>
Signed-off-by: David Li <li.davidm96@gmail.com>
rok pushed a commit to tmct/arrow that referenced this issue May 8, 2024
…endencies (apache#40953)

### Rationale for this change

Module `flight-sql-jdbc-driver` declares multiple dependencies, some (joda) are not used anymore (but still packaged).

### What changes are included in this PR?

Clean up list of dependencies declared in flight-sql-jdbc-driver modules as all of them are transitive dependencies from flight-sql-jdbc-core.

### Are these changes tested?

Yes: build + existing shading test

### Are there any user-facing changes?

No
* GitHub Issue: apache#40952

Authored-by: Laurent Goujon <laurent@apache.org>
Signed-off-by: David Li <li.davidm96@gmail.com>
vibhatha pushed a commit to vibhatha/arrow that referenced this issue May 25, 2024
…endencies (apache#40953)

### Rationale for this change

Module `flight-sql-jdbc-driver` declares multiple dependencies, some (joda) are not used anymore (but still packaged).

### What changes are included in this PR?

Clean up list of dependencies declared in flight-sql-jdbc-driver modules as all of them are transitive dependencies from flight-sql-jdbc-core.

### Are these changes tested?

Yes: build + existing shading test

### Are there any user-facing changes?

No
* GitHub Issue: apache#40952

Authored-by: Laurent Goujon <laurent@apache.org>
Signed-off-by: David Li <li.davidm96@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants