Either JNI or pure Java compute is ok for me, and agreed that specific 
use-cases and designs are needed before starting.

A pure Java compute is easy to use for java developers I think and the 
algorithm module is a good start (thanks Liya Fan), if we finally decide this 
way, I can help if needed.


Thanks,
Ji Liu


------------------------------------------------------------------
From:Micah Kornfield <emkornfi...@gmail.com>
Send Time:2019年11月26日(星期二) 13:02
To:dev <dev@arrow.apache.org>
Subject:Re: Java API for Arrow Compute

+1 to Liya Fan said.  Before starting on the endeavor it would be nice to
have concrete use-cases and what we think the end-state is, and  some
light-weight design upfront.  It seems like in the Java world there are
already a lot of analysis tools, and it isn't clear to me how a "compute"
layer would fit into the ecosystem.  There was some discussion around this
on the mailing list recently [1].

As a personal preference, I would prefer trying to integrate with the C++
code base via JNI (as Wes mentioned) then build yet another set of
computation components unless there were very clear goals of what a Java
version would be looking to accomplish.  However, if there are enough
volunteers willing to support a pure Java compute, then it might be
worthwhile.

Thanks,
Micah

[1]
https://lists.apache.org/thread.html/4b2776353bbc0d74369af19b6897cd9d47caf13fb8fd38c96f2cd32e@%3Cdev.arrow.apache.org%3E

On Mon, Nov 25, 2019 at 6:07 PM Fan Liya <liya.fa...@gmail.com> wrote:

> Hi Yuan,
>
> Currently, we have some APIs in the algorithm module of the Java project.
> If you have more requirements, maybe you can describe your
> requirements/scenarios, and start a discussion in the mailing list.
>
> Best,
> Liya Fan
>
>
> On Mon, Nov 25, 2019 at 11:17 PM Wes McKinney <wesmck...@gmail.com> wrote:
>
> > There is a little bit of compute work happening in Java now, but like
> > any part of the project it depends on whether volunteers want to do
> > the work.
> >
> > Since there is some JNI interfaces to C++ available already (for
> > example to Gandiva), making increased use of C++ in Java via JNI may
> > be one approach to exposing more compute functionality in Java. Some
> > developers may wish to create native Java implementations of some
> > things, though
> >
> > On Mon, Nov 25, 2019 at 8:47 AM ZHOU Yuan <dunk...@gmail.com> wrote:
> > >
> > > Hi Arrow developers,
> > >
> > > The compute APIs(neat!) seems now available in c++, python and rust, is
> > > there any plan/work on adding the Java API?
> > >
> > > Cheers, -yuan
> >
>

Reply via email to