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

[Rust] StreamReader, read_dictionary duplicating schema info

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0
    • Rust

    Description

      The `read_dictionary` function takes both an ipc schema and a `Schema`, but it can get the information it needs from just the `Schema`. Then the `StreamReader` doesn't need to keep the ipc schema bytes around, because it also has the `Schema`.

      The Flight integration test code needs to read dictionaries as well, and it seemed overly complex to need both kinds of schemas. PR coming!

      Attachments

        Issue Links

          Activity

            People

              carols10cents Carol Nichols
              carols10cents Carol Nichols
              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 - 50m
                  50m