You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Pindikura Ravindra (JIRA)" <ji...@apache.org> on 2019/06/13 05:24:00 UTC

[jira] [Created] (ARROW-5579) [Java] shade flatbuffer dependency

Pindikura Ravindra created ARROW-5579:
-----------------------------------------

             Summary: [Java] shade flatbuffer dependency
                 Key: ARROW-5579
                 URL: https://issues.apache.org/jira/browse/ARROW-5579
             Project: Apache Arrow
          Issue Type: Task
          Components: Java
            Reporter: Pindikura Ravindra


Reported in a [github issue|[https://github.com/apache/arrow/issues/4489]] 

 

After some [discussion|https://github.com/google/flatbuffers/issues/5368] with the Flatbuffers maintainer, it appears that FB generated code is not guaranteed to be compatible with _any other_ version of the runtime library other than the exact same version of the flatc used to compile it.

This makes depending on flatbuffers in a library (like arrow) quite risky, as if an app depends on any other version of FB, either directly or transitively, it's likely the versions will clash at some point and you'll see undefined behaviour at runtime.

Shading the dependency looks to me the best way to avoid this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)