git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Java] Upgrading Arrow to JDK 1.8


A JIRA exists for this

https://issues.apache.org/jira/plugins/servlet/mobile#issue/ARROW-2015

We were in agreement in principle on the migration - but when it was created there were a lot of focus on the 0.9 release.

No reason not to begin now

Dwight
Sent from my iPhone

> On Apr 23, 2018, at 2:00 PM, Li Jin <ice.xelloss@xxxxxxxxx> wrote:
> 
> I don't see particular reason to maintaining JDK 7 compatibility, and am +1
> to move to Java 8.
> 
>> On Mon, Apr 23, 2018 at 1:48 PM, Andy Grove <Andy.Grove@xxxxxxx> wrote:
>> 
>> I’m trying to use the parquet-arrow library, which has just been updated
>> to use Arrow 0.8.0 but unfortunately I am still running into this issue:
>> 
>> java.lang.ClassNotFoundException: org.apache.arrow.vector.types.
>> pojo.ArrowType$Struct_
>> 
>> The class in the arrow jar is actually `Struct` not `Struct_`.
>> 
>> This is due to Arrow using JDK 7 and Parquet using JDK 8.
>> 
>> I have confirmed this on my forks and have submitted a PR to upgrade Arrow
>> to JDK 1.8 but the CI tests are running against both JDK 7 and 8 and
>> obviously the JDK 7 tests are failing.
>> 
>> Is there any reason for maintaining JDK 7 compatibility? JDK 7 end of life
>> was 3 years ago.
>> 
>> Thanks,
>> 
>> Andy.
>> 
>>