Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10398

[Rust] [Parquet] Re-export parquet::record::api::Field

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Rust

    Description

      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.

       

       

      Attachments

        Issue Links

          Activity

            People

              seen Sean Moran
              seen Sean Moran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h