asfimport opened a new issue, #72:
URL: https://github.com/apache/arrow-go/issues/72

   (Apologies if I'm imprecise here, I'm still coming up to speed on the arrow 
details.)
   
    
   
   The IPC message format describes how data and metadata messages are 
encapsulated, but it is not a requirement that each message must include the 
schema.
   
    
   
   In Go, github.com/apache/arrow/go/arrow/ipc contains NewReader() for setting 
up reading of IPC messages, and accepts the option WithSchema to pass the 
schema into said reader.  However, the implementation merely uses that 
information to compare that the schema it reads from the IPC stream matches the 
passed in reader.  This request is to allow WithSchema to behave as expected, 
and use the option-provided Schema for performing reads.
   
    
   
   The one gotcha here appears to be the dictionary type map, which is 
currently retained independently of the schema but is part of the internal 
readSchema() setup. Completeness may warrant another option for communicating 
those externally as well?  Or perhaps option-passed Schema should be documented 
to not support dictionary types?
   
   **Reporter**: [Seth 
Hollyman](https://issues.apache.org/jira/browse/ARROW-13191)
   #### PRs and other links:
   - [GitHub Pull Request 
apache/arrow#10603](https://github.com/apache/arrow/pull/10603)
   
   <sub>**Note**: *This issue was originally created as 
[ARROW-13191](https://issues.apache.org/jira/browse/ARROW-13191). Please see 
the [migration documentation](https://github.com/apache/arrow/issues/14542) for 
further details.*</sub>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to