Chao Sun created ARROW-3878:
-------------------------------

             Summary: [Rust] Improve primitive types 
                 Key: ARROW-3878
                 URL: https://issues.apache.org/jira/browse/ARROW-3878
             Project: Apache Arrow
          Issue Type: Improvement
            Reporter: Chao Sun
            Assignee: Chao Sun


Currently we simply uses Rust's native types as primitive types, and relies on 
macros such as 
[this|https://github.com/apache/arrow/blob/master/rust/src/array.rs#L298] to 
link the Arrow data type with the native type. A better approach may be to 
define richer primitive types which contain both the Arrow type and the Rust 
native type, as well as other information such as type's bit width, precision, 
etc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to