You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Sean Moran (Jira)" <ji...@apache.org> on 2020/10/26 21:09:00 UTC
[jira] [Created] (ARROW-10398) [Rust] [Parquet] Re-export
parquet::record::api::Field
Sean Moran created ARROW-10398:
----------------------------------
Summary: [Rust] [Parquet] Re-export parquet::record::api::Field
Key: ARROW-10398
URL: https://issues.apache.org/jira/browse/ARROW-10398
Project: Apache Arrow
Issue Type: Improvement
Components: Rust
Reporter: Sean Moran
{{parquet::record::Row.get_column_iter}} returns an iterator of {{(&String, &Field)}} tuples. The documentation for {{get_column_iter}} shows an example of consuming and printing the tuple from the iterator. Beyond printing the first thing one might attempt is to match on {{Field}} to handle the various types differently, but as {{Field}} is not re-exported from the private API module it is inaccessible.
The solution may be as straight forward as adding {{Field}} to {{mod.rs}} for {{parquet::record}} and seemed sufficient in my local testing.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)