Hi Igor:
That's a good idea! It could resolve that issue. The basic question has
solved. To use the official Arrow,  there's still two issues needed to be
contributed to Arrow, that I will do:
1. make gcc lib static linked into the jni dynamic lib.
  Without this, it will require the platform installed right version gcc
2. add convertToNull function to gandiva
 This could make some project expression with convertToNull function to be
gandiva executed

Of course, without these two issues solved, I still could give an
integration implementation.

BTW, once the integration is done. How do we supply the gandiva jni lib ?
Leave it to user to build it ? or we supply different platform
distributions?


On Thu, Apr 4, 2019 at 3:53 PM Igor Guzenko <[email protected]>
wrote:

> Hello Weijie,
>
> Did you try to create same package as in Arrow, but in Drill and use
> wrapper class around target for publishing
> desired methods with package access ?
>
> Thanks, Igor
>
> On Thu, Apr 4, 2019 at 9:51 AM weijie tong <[email protected]>
> wrote:
> >
> > HI :
> >
> > Gandiva is a sub project of Arrow. Arrow gandiva using LLVM codegen and
> > simd skill could achieve better query performance.  Arrow and Drill has
> > similar column memory format. The main difference now is the null
> > representation. Also Arrow has made great changes to the ValueVector. To
> > adopt Arrow to replace Drill's VV has been discussed before. That would
> be
> > a great job. But to leverage gandiva , by working at the physical memory
> > address level , this work could be little relatively.
> >
> > Now I have done the integration work at our own branch by make some
> changes
> > to the Arrow branch, and issued DRILL-7087 and ARROW-4819. The main
> changes
> > to ARROW-4819 is to make some package level method to be public. But
> arrow
> > community seems not plan to accept this change. Their advice is to have a
> > arrow branch.
> >
> > So what do you think?
> >
> > 1、Have a self branch of Arrow.
> > 2、waiting for the Arrow integration completely.
> > or some other ideas?
>

Reply via email to