Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-2035

Java module import error due to shaded package shaded.parquet.it.unimi.dsi.fastutil

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.12.0, 1.11.1
    • None
    • parquet-avro
    • None

    Description

      Description:

      Due to collision of shaded packages 

      shaded.parquet.it.unimi.dsi.fastutil

      in 

      org.apache.parquet:parquet-avro

      and 

      org.apache.parquet:parquet-column

      it is not possible to use both these dependencies within a modularized java project at the same time.

       

       

      How to reproduce:

      • create a maven project with dependency org.apache.parquet:parquet-avro:1.11.1
      • declare java module that requires both parquet.avro and parquet.column
      • run
        mvn compile

       

      Expected behaviour:

      Project should compile without errors.

       

      Actual behaviour:

      Project fails with compilation errors:

       

      [ERROR] the unnamed module reads package shaded.parquet.it.unimi.dsi.fastutil from both parquet.column and parquet.avro
      ...

       

       

      Reproducible example (same code as in the attached zip file): https://github.com/xCASx/parquet-example

      Attachments

        1. parquet-example.zip
          2 kB
          Maxim Kolesnikov

        Activity

          People

            Unassigned Unassigned
            cas Maxim Kolesnikov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: