Skip to content

Commit

Permalink
ARROW-2425: [Rust] BUG FIX: Add u8 mappings for Array::from
Browse files Browse the repository at this point in the history
Author: Andy Grove <[email protected]>

Closes apache#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
  • Loading branch information
andygrove authored and xhochy committed Apr 10, 2018
1 parent 33d92a0 commit ca277ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust/src/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit ca277ae

Please sign in to comment.