You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "WillAyd (via GitHub)" <gi...@apache.org> on 2025/02/26 15:22:23 UTC

[I] Use System Provided Flatbuffers [arrow]

WillAyd opened a new issue, #45636:
URL: https://github.com/apache/arrow/issues/45636

   ### Describe the enhancement requested
   
   Right now the project strictly requires the vendored version of flatbuffers, and places static assertions on main that the version of flatbuffers being used is 23.5.26
   
   Instead of forcing the use of the vendored copy, we could open the project up to detecting a system dependency first, only falling back to the vendored copy when none is detected.
   
   The origin of this conversation stems from the setup of the Meson build system in https://github.com/apache/arrow/pull/45596#issuecomment-2683607464
   
   @kou
   
   ### Component(s)
   
   C++


-- 
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-unsubscribe@arrow.apache.org.apache.org

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


Re: [I] [C++] Use System Provided Flatbuffers [arrow]

Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on issue #45636:
URL: https://github.com/apache/arrow/issues/45636#issuecomment-2703886703

   I think the easiest path to Meson support would be to upgrade the vendored flatbuffers that CMake uses to a version that also exists in Meson's WrapDB. I'll investigate that further


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] [C++] Use System Provided Flatbuffers [arrow]

Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on issue #45636:
URL: https://github.com/apache/arrow/issues/45636#issuecomment-2705302161

   Makes sense - see https://github.com/apache/arrow/issues/45694


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] [C++] Use System Provided Flatbuffers [arrow]

Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on issue #45636:
URL: https://github.com/apache/arrow/issues/45636#issuecomment-2864264475

   Actually I think there is still value in this. If Arrow is used as a subproject of another project, then by nature of how it distributes flatbuffers-generated code today it requires that the host system use a specific version of flatbuffers even for the main project, which I think is rather limiting.
   
   Instead of distributing the generated files as part of the source, we may want to look into generating the files during the build, so that we can open up flatbuffers to more than just a single version


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] [C++] Allow more Flatbuffers versions to compile Arrow [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #45636:
URL: https://github.com/apache/arrow/issues/45636#issuecomment-4508177818

   This issue has been marked as stale because it has had no activity in the past 365 days. Please remove the stale label or comment below, or this issue will be closed in 14 days. If this improvement is still desired but has no current owner, please add the 'Status: needs champion' label.


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] [C++] Use System Provided Flatbuffers [arrow]

Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd closed issue #45636: [C++] Use System Provided Flatbuffers
URL: https://github.com/apache/arrow/issues/45636


-- 
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-unsubscribe@arrow.apache.org

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


Re: [I] [C++] Use System Provided Flatbuffers [arrow]

Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on issue #45636:
URL: https://github.com/apache/arrow/issues/45636#issuecomment-2822341831

   Closing as I don't think it is valuable to do this - flatbuffers requires the version used to create the proto files is exactly the same version used to compile them. It seems highly unlikely Arrow can find a system installed version that satisfies that requirement


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] [C++] Use System Provided Flatbuffers [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #45636:
URL: https://github.com/apache/arrow/issues/45636#issuecomment-2704987325

   OK. Could you open a separated issue for upgrading the vendored Flatbuffers?
   We may work on using system provided Flatbuffers later.


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] [C++] Use System Provided Flatbuffers [arrow]

Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on issue #45636:
URL: https://github.com/apache/arrow/issues/45636#issuecomment-2864835119

   See also the conversation here https://github.com/mesonbuild/wrapdb/pull/2099#issuecomment-2863319577


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] Use System Provided Flatbuffers [arrow]

Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on issue #45636:
URL: https://github.com/apache/arrow/issues/45636#issuecomment-2702209912

   So the more I've looked at this I've started to question if its worth the effort. From what I can read, it is a hard requirement for flatbuffers that the compiler and runtime versions match exactly. The odds of that are pretty low, so maybe not worth all of the extra CMake work here?
   
   @kou


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] [C++] Use System Provided Flatbuffers [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #45636:
URL: https://github.com/apache/arrow/issues/45636#issuecomment-2702532680

   I thought this is one of blockers of Meson support. If so, I'll take a look at this.


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] [C++] Allow more Flatbuffers versions to compile Arrow [arrow]

Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd closed issue #45636: [C++] Allow more Flatbuffers versions to compile Arrow
URL: https://github.com/apache/arrow/issues/45636


-- 
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-unsubscribe@arrow.apache.org

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