Vampire commented on PR #10460:
URL: https://github.com/apache/iceberg/pull/10460#issuecomment-2160965919

   `org.apache.calcite.avatica:avatica:1.8.0` is misbehaving.
   It shades an old version of `jackson-core` without relocating it.
   You have that dependency in your `test` classpaths and it comes in the 
classpath before the `jackson-core` dependency.
   It does not contain `com.fasterxml.jackson.core.json.JsonReadFeature`, so 
the one from `jackson-core` is used.
   `com.fasterxml.jackson.core.json.JsonReadFeature` of the newer 
`jackson-core` uses 
`com.fasterxml.jackson.core.JsonParser.Feature.ALLOW_LEADING_PLUS_SIGN_FOR_NUMBERS`
 in its static initialization.
   `com.fasterxml.jackson.core.JsonParser.Feature` is taken from `avatica` but 
is so old that it of course does not have that constant, so it fails.
   
   Avatica 1.8.0 was released 2016, so you should probably update it to a newer 
version.
   The concrete problem should indeed be fixed in 1.9.0 already with resolving 
this issue: https://issues.apache.org/jira/browse/CALCITE-1224
   
   
   Before they relocated some shaded dependencies but missed Jackson.
   After they released non-shaded version and a shaded version and fixed the 
relocation in the shaded version to include Jackson.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to