-
Notifications
You must be signed in to change notification settings - Fork 131
fix: add more native image configurations for Arrow tests and enable native image tests #2053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
3059e49
1030790
7502c2d
4612366
fde4c0b
463c852
f64545d
db501a8
6cd1d3b
b95d622
b2c67c6
a050229
7ac06da
2295f7b
ca77139
59e72c0
361fe4a
ead0f30
ab15abf
ffddacd
8db8fd1
57f9d9d
b87ca45
fc1e5fc
62dcfed
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,8 +3,67 @@ | |
| "name":"io.netty.buffer.AbstractByteBufAllocator", | ||
| "queryAllDeclaredMethods":true | ||
| }, | ||
| { | ||
| "name":"io.netty.buffer.PooledByteBufAllocator", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you intend to manually maintain this config file in the future? How much ongoing maintenance work is needed? Would we need to make these changes if we made code changes related to Arrow or add new Arrow dependencies? cc @prash-mi
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's a good question. Given that we have a bit more background on GraalVM at the moment, we plan to maintain these configurations with client library owners being involved in the review process. However, we're currently working on making our onboarding documentation more robust as we learn more about the technology so that it is easier for client library owners to contribute and get unblocked sooner if needed in the future . Will keep you posted on the plans for that.
Most of these changes involved configurations for the netty classes that Apache Arrow brings in. These currently exist in |
||
| "fields":[{"name":"directArenas"}] | ||
| }, | ||
| { | ||
| "name":"io.netty.util.internal.shaded.org.jctools.queues.MpscChunkedArrayQueue", | ||
| "queryAllDeclaredMethods":true, | ||
| "allDeclaredFields":true, | ||
| "queryAllDeclaredConstructors":true | ||
| }, | ||
| { | ||
| "name":"io.netty.util.internal.shaded.org.jctools.queues.MpscArrayQueueConsumerIndexField", | ||
| "fields":[{"name":"consumerIndex"}] | ||
| }, | ||
| { | ||
| "name":"io.netty.util.internal.shaded.org.jctools.queues.MpscArrayQueueProducerIndexField", | ||
| "fields":[{"name":"producerIndex"}] | ||
| }, | ||
| { | ||
| "name":"io.netty.util.internal.shaded.org.jctools.queues.MpscArrayQueueProducerLimitField", | ||
| "fields":[{"name":"producerLimit"}] | ||
| }, | ||
| { | ||
| "name":"java.nio.DirectByteBuffer", | ||
| "methods":[{"name":"<init>","parameterTypes":["long","int"] }] | ||
| }, | ||
| { | ||
| "name":"org.apache.arrow.memory.DefaultAllocationManagerFactory", | ||
| "fields":[{"name":"FACTORY"}] | ||
| }, | ||
| { | ||
| "name":"org.apache.arrow.vector.types.pojo.ArrowType", | ||
| "allDeclaredFields":true, | ||
| "queryAllDeclaredMethods":true, | ||
| "queryAllDeclaredConstructors":true | ||
| }, | ||
| { | ||
| "name":"org.apache.arrow.vector.types.pojo.ArrowType$Int", | ||
| "allDeclaredFields":true, | ||
| "queryAllDeclaredMethods":true, | ||
| "queryAllDeclaredConstructors":true | ||
| }, | ||
| { | ||
| "name":"org.apache.arrow.vector.types.pojo.ArrowType$PrimitiveType", | ||
| "allDeclaredFields":true, | ||
| "queryAllDeclaredMethods":true | ||
| }, | ||
| { | ||
| "name":"io.netty.buffer.AbstractReferenceCountedByteBuf", | ||
| "fields":[{"name":"refCnt"}] | ||
| }, | ||
| { | ||
| "name":"io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueColdProducerFields", | ||
| "fields":[{"name":"producerLimit"}] | ||
| }, | ||
| { | ||
| "name":"io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueConsumerFields", | ||
| "fields":[{"name":"consumerIndex"}] | ||
| }, | ||
| { | ||
| "name":"io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueProducerFields", | ||
| "fields":[{"name":"producerIndex"}] | ||
| } | ||
| ] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,5 +22,5 @@ | |
| '.kokoro/dependencies.sh', | ||
| 'codecov.yaml', | ||
| 'renovate.json', | ||
| '.kokoro/build.sh', | ||
| '.kokoro/build.sh' | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be removed, right?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I had to bring this back in to exclude the arrow tests in Java 17 until #2060 is resolved. |
||
| ]) | ||
Uh oh!
There was an error while loading. Please reload this page.