Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
0.17.0
Description
When using Arrow 0.17.0 as a dependency, it is likely that you will get the error "Failed to locate format/Flight.proto in any parent directory". This is caused by the custom build script in the arrow-flight crate, which expects to find a "format/Flight.proto" file in a parent directory. This works when building the crate from within the Arrow source tree, but unfortunately doesn't work for the published crate, since the Flight.proto file was not published as part of the crate.
The workaround is to create a "format" directory in the root of your file system (or at least at a higher level than where cargo is building code) and place the Flight.proto file there (making sure to use the 0.17.0 version, which can be found in the source release [1]).
[1] https://github.com/apache/arrow/releases/tag/apache-arrow-0.17.0
Attachments
Issue Links
- links to