Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1110

remove or relocate shaded jackson in Avatica

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 1.6.0, 1.5.0
    • avatica-1.9.0
    • avatica
    • None

    Description

      The avatica jar includes a shaded version of jackson under the original package path.

      This shaded version interferes with other jackson versions in the classpath.

      Currently this prevents us from using jackson functionality which is only implemented in newer versions.

      https://mail-archives.apache.org/mod_mbox/calcite-dev/201602.mbox/%3C977C7450-18F4-48E2-A970-69B7E3E1BD2C%40apache.org%3E

      Is it reasonable to have a maven profile that uses jackson as “provided”[1] rather than shading? This would not be the default — the default would be continue to use a shaded version of jackson (relocated to org.apache.calcite.jackson, as Josh suggests) — but folks looking to embed calcite/avatica in a container might appreciate a lighter weight option.

      Attachments

        Issue Links

          Activity

            People

              elserj Josh Elser
              kguelzau Kai Gülzau
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: