Re: Help with decimal ArrayData needed

2020-02-11 Thread Jacek Pliszka
Issue solved, sorry for noise - is_valid was false for 2nd value. BR. Jacek wt., 11 lut 2020 o 21:43 Jacek Pliszka napisaƂ(a): > Hi! > > I am an arrow newbie trying to implement cast from Decimal128 to Int64 and > I need some help. > > In unit test I am passing > std::vector v > to >

Help with decimal ArrayData needed

2020-02-11 Thread Jacek Pliszka
Hi! I am an arrow newbie trying to implement cast from Decimal128 to Int64 and I need some help. In unit test I am passing std::vector v to CheckCase(decimal(38, 10), v, is_valid, int64(), e, options); But when I try to read it in CastFunctor with auto ptr = input.GetValues(1) where in_type is