You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Carol Nichols (Jira)" <ji...@apache.org> on 2020/12/02 20:09:00 UTC

[jira] [Created] (ARROW-10791) [Rust] StreamReader, read_dictionary duplicating schema info

Carol Nichols created ARROW-10791:
-------------------------------------

             Summary: [Rust] StreamReader, read_dictionary duplicating schema info
                 Key: ARROW-10791
                 URL: https://issues.apache.org/jira/browse/ARROW-10791
             Project: Apache Arrow
          Issue Type: Bug
          Components: Rust
            Reporter: Carol Nichols
            Assignee: Carol Nichols


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!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)