[jira] [Created] (ARROW-12907) [Java] Memory possible when exception reading from channel happens

2021-05-29 Thread Micah Kornfield (Jira)
Micah Kornfield created ARROW-12907:
---

 Summary: [Java] Memory possible when exception reading from 
channel happens
 Key: ARROW-12907
 URL: https://issues.apache.org/jira/browse/ARROW-12907
 Project: Apache Arrow
  Issue Type: Bug
  Components: Java
Reporter: Micah Kornfield
Assignee: Micah Kornfield






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (ARROW-12906) `fill_null` called with a null value seg faults on non fixed-sized types.

2021-05-29 Thread A. Coady (Jira)
A. Coady created ARROW-12906:


 Summary: `fill_null` called with a null value seg faults on non 
fixed-sized types.
 Key: ARROW-12906
 URL: https://issues.apache.org/jira/browse/ARROW-12906
 Project: Apache Arrow
  Issue Type: Bug
  Components: C++, Python
Affects Versions: 4.0.0
 Environment: macOS, ubuntu
Reporter: A. Coady


 
{code:java}
import pyarrow as pa 

assert pa.array([0]).fill_null(None)
pa.array([""]).fill_null(None) # crash  {code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (ARROW-12905) [Java] Adapt to Java 9/9+ automatic module system

2021-05-29 Thread Hongze Zhang (Jira)
Hongze Zhang created ARROW-12905:


 Summary: [Java] Adapt to Java 9/9+ automatic module system
 Key: ARROW-12905
 URL: https://issues.apache.org/jira/browse/ARROW-12905
 Project: Apache Arrow
  Issue Type: Improvement
  Components: Java
Reporter: Hongze Zhang


In Java 9/9+, within following module-info.java definition the build will fail 
by error:

{code}
module my.app {
  exports my.app;

  requires arrow.memory.core;
  requires arrow.memory.unsafe;
}
{code}

The error:
{quote}
java: the unnamed module reads package org.apache.arrow.memory from both 
arrow.memory.core and arrow.memory.unsafe
{quote}

It seems that JPMS requires a package to be read from at most one individual 
module. Ref: 
http://openjdk.java.net/projects/jigsaw/spec/sotms/#the-module-path. If so what 
we may have to do is to conduct a code clean up for our maven modules to make 
sure we don't populate codes in the same package into different libraries.

Also, as a more standardized practice, it's might be an option to put entries 
with name *Automatic-Module-Name* into manifest files to tell automatic module 
system to generate predefined module names rather than parsing from jar file 
name. Ref: 
https://docs.oracle.com/javase/9/docs/api/java/lang/module/ModuleFinder.html#automatic-modules

Note that it's not a goal for this topic to migrate to Java 9/9+.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)