[
https://issues.apache.org/jira/browse/ARROW-8536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Neville Dipale resolved ARROW-8536.
-----------------------------------
Resolution: Fixed
Issue resolved by pull request 7018
[https://github.com/apache/arrow/pull/7018]
> [Rust] Failed to locate format/Flight.proto in any parent directory
> -------------------------------------------------------------------
>
> Key: ARROW-8536
> URL: https://issues.apache.org/jira/browse/ARROW-8536
> Project: Apache Arrow
> Issue Type: Bug
> Components: Rust
> Affects Versions: 0.17.0
> Reporter: Andy Grove
> Assignee: Neville Dipale
> Priority: Critical
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> 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]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)