Re: [C++] Fastest method to create an Array based on an existing Array with null_bitmap changed?

2021-03-20 Thread Niranda Perera
Hi Ying,

I think you can use arrow::MakeArray(...) util in the array/util.h header.

On Sat, Mar 20, 2021 at 11:18 PM Ying Zhou  wrote:

> Hi,
>
> I would like to generate an Array using an existing Array with data
> preserved with the exception of null_bitmap. Shall I use Array::SetData and
> ArrayData::Make (with dictionary and child_data)?
>
> Ying



-- 
Niranda Perera
@n1r44 
+1 812 558 8884 / +94 71 554 8430
https://www.linkedin.com/in/niranda


[C++] Fastest method to create an Array based on an existing Array with null_bitmap changed?

2021-03-20 Thread Ying Zhou
Hi,

I would like to generate an Array using an existing Array with data preserved 
with the exception of null_bitmap. Shall I use Array::SetData and 
ArrayData::Make (with dictionary and child_data)?

Ying