Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-17055

[Java][FlightRPC] flight-core and flight-sql jars delivering same class names

    XMLWordPrintableJSON

Details

    Description

      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!

      Attachments

        Issue Links

          Activity

            People

              KBambrick1 Kevin Bambrick
              KBambrick1 Kevin Bambrick
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m