Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0, avatica-1.7.0
    • Component/s: avatica, core
    • Labels:
      None

      Description

      Upgrade Jackson to latest stable (2.6.3); current is 2.1.1 (released 2012).

      Before fixing, make a list in this JIRA case of places that Jackson classes appear in Calcite public APIs.

      See email thread.

      This issue is marked "avatica" because JSON is one of the message encodings uses by Avatica uses but also affects Calcite core.

        Issue Links

          Activity

          Hide
          julianhyde Julian Hyde added a comment - - edited

          Jackson 2.7.0 has just been released, but tests such as ModelTest give the following error:

          com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "name" (class org.apache.calcite.model.JsonMapSchema), not marked as ignorable

          "name" exists, but is inherited from a base class. Possibly a bug in Jackson; I have logged https://github.com/FasterXML/jackson-databind/issues/1083.

          We should stick with 2.6.3 for now. Let's see if it's fixed in 2.7.x.

          Show
          julianhyde Julian Hyde added a comment - - edited Jackson 2.7.0 has just been released, but tests such as ModelTest give the following error: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "name" (class org.apache.calcite.model.JsonMapSchema), not marked as ignorable "name" exists, but is inherited from a base class. Possibly a bug in Jackson; I have logged https://github.com/FasterXML/jackson-databind/issues/1083 . We should stick with 2.6.3 for now. Let's see if it's fixed in 2.7.x.
          Show
          julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/6acb28d8 .
          Hide
          elserj Josh Elser added a comment -

          Resolved in release Avatica 1.7.0

          Show
          elserj Josh Elser added a comment - Resolved in release Avatica 1.7.0

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              julianhyde Julian Hyde
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development