[
https://issues.apache.org/jira/browse/ARROW-17055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Li resolved ARROW-17055.
------------------------------
Fix Version/s: 9.0.0
Resolution: Fixed
Issue resolved by pull request 13596
[https://github.com/apache/arrow/pull/13596]
> [Java][FlightRPC] flight-core and flight-sql jars delivering same class names
> -----------------------------------------------------------------------------
>
> Key: ARROW-17055
> URL: https://issues.apache.org/jira/browse/ARROW-17055
> Project: Apache Arrow
> Issue Type: Improvement
> Components: FlightRPC, Java
> Reporter: Kevin Bambrick
> Assignee: Kevin Bambrick
> Priority: Minor
> Labels: pull-request-available
> Fix For: 9.0.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Hello. I am trying to uptake arrow flight sql. We have a check in out build
> to make sure that there are no overlapping class files in our project. When
> adding the flight sql dependency to our project the warning throws that
> flight-sql and flight-core overlap and the jars deliver the same class files.
> {code:java}
> Sample Warning: WARNING: CLASSPATH OVERLAP: These jars deliver the same class
> files: [flight-sql-7.0.0.jar, flight-core-7.0.0.jar] files:
> [org/apache/arrow/flight/impl/Flight$FlightDescriptor$1.class,
> org/apache/arrow/flight/impl/Flight$ActionOrBuilder.class{code}
>
> It seems that the classes generated by Flight.proto gets generated in both
> flight-sql and flight-core jars. Since these classes get generated in
> flight-core, and flight-sql is dependent on flight-core, can the generation
> of Flight.java and FlightServiceGrpc.java be removed from flight-sql and
> instead rely on it to be pulled directly from flight-core?
>
> thanks in advance!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)