Re: Access Gandiva filter result by array index

2018-12-14 Thread Suvayu Ali
Hi Ravindra, On Fri, Dec 14, 2018 at 01:11:02PM +0530, Ravindra Pindikura wrote: > > > > But I can't access the elements of the selection vector! Since it is > > declared > > as std::shared_ptr, the Value(..) method isn't found. I had > > filled it with SelectionVector::MakeInt16(..), so

Re: Access Gandiva filter result by array index

2018-12-13 Thread Ravindra Pindikura
> On Dec 14, 2018, at 3:22 AM, Suvayu Ali wrote: > > Hi everyone, > > Maybe I'm missing something obvious, but for the life of me, I can't > figure out how I can access the elements of an array after a Gandiva > filter operation. > > I have linked a minimal example at the end which I compile

Access Gandiva filter result by array index

2018-12-13 Thread Suvayu Ali
Hi everyone, Maybe I'm missing something obvious, but for the life of me, I can't figure out how I can access the elements of an array after a Gandiva filter operation. I have linked a minimal example at the end which I compile like this: $ /usr/lib64/ccache/g++ -g -Wall -m64 -std=c++17 -pthre