Kevin Bambrick created ARROW-17055:
--------------------------------------

             Summary: [Java][FlightSql] 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


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.
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
 
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)

Reply via email to