This is an automated email from the ASF dual-hosted git repository.

uwe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new ca277ae  ARROW-2425: [Rust] BUG FIX: Add u8 mappings for Array::from
ca277ae is described below

commit ca277ae1cc3bfc40c2873fde3ccc5dd558579812
Author: Andy Grove <andygrov...@gmail.com>
AuthorDate: Tue Apr 10 10:25:37 2018 +0200

    ARROW-2425: [Rust] BUG FIX: Add u8 mappings for Array::from
    
    Author: Andy Grove <andygrov...@gmail.com>
    
    Closes #1865 from andygrove/add_u8_mappings and squashes the following 
commits:
    
    bd7eb97 <Andy Grove> add missing mappings for u8 in Array::from
    2f87c70 <Andy Grove> Fix build - add missing import
---
 rust/src/array.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rust/src/array.rs b/rust/src/array.rs
index 09f0c95..1b619d5 100644
--- a/rust/src/array.rs
+++ b/rust/src/array.rs
@@ -123,6 +123,7 @@ macro_rules! array_from_primitive {
 array_from_primitive!(bool);
 array_from_primitive!(f32);
 array_from_primitive!(f64);
+array_from_primitive!(u8);
 array_from_primitive!(u16);
 array_from_primitive!(u32);
 array_from_primitive!(u64);
@@ -160,6 +161,7 @@ macro_rules! array_from_optional_primitive {
 array_from_optional_primitive!(bool, false);
 array_from_optional_primitive!(f32, 0_f32);
 array_from_optional_primitive!(f64, 0_f64);
+array_from_optional_primitive!(u8, 0_u8);
 array_from_optional_primitive!(u16, 0_u16);
 array_from_optional_primitive!(u32, 0_u32);
 array_from_optional_primitive!(u64, 0_u64);

-- 
To stop receiving notification emails like this one, please contact
u...@apache.org.

Reply via email to