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

[Rust] Expose CSV and JSON reader schemas

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.14.0
    • Rust

    Description

      It's sometimes convenient to be able to view a datasource's schema without reading the first record batch. This is a proposal to create a `pub fn schema(&self) -> Arc<Schema>` on the various readers that we support.

      I think this would also enable schema inference in datafusion

      Attachments

        Issue Links

          Activity

            People

              nevi_me Neville Dipale
              nevi_me Neville Dipale
              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 - 20m
                  20m