Uh oh!
There was an error while loading. Please reload this page.
ARROW-17869: [Java][Gandiva] Implement Reserve for JavaBuffer - #14261
ARROW-17869: [Java][Gandiva] Implement Reserve for JavaBuffer#14261js8544 wants to merge 6 commits into
Conversation
js8544
commented
Sep 28, 2022
@github-actions crossbow submit java-jars |
Revision: 7f6d36cdbbf89f56f53e132198c86b0c004d119d Submitted crossbow builds: ursacomputing/crossbow @ actions-d26b84437c
|
js8544
commented
Sep 28, 2022
@github-actions crossbow submit java-jars |
1 similar comment
js8544
commented
Sep 28, 2022
@github-actions crossbow submit java-jars |
js8544
commented
Sep 28, 2022
@kou Hi kou, sorry to bother. I requested two crossbow builds today but they were ignored by the bot. Do you have any idea why this happened? |
kou
commented
Sep 28, 2022
@github-actions crossbow submit java-jars |
Revision: 263c2956ee7c09ab1e74fc5e5329e0c55e28d84c Submitted crossbow builds: ursacomputing/crossbow @ actions-7ce585f8a8
|
kou
commented
Sep 28, 2022
Hmm... It's strange... |
js8544
commented
Sep 29, 2022
@github-actions crossbow submit java-jars |
Revision: 1e7610799c2ee7724bb7a225bdfd2cafd0e811c5 Submitted crossbow builds: ursacomputing/crossbow @ actions-478721e321
|
js8544
commented
Sep 30, 2022
Brew's LLVM 15 enables z3 by default, and it's shared linked. So at task Build Java Jars, it's required to have libz3 installed on the system. There are several ways to solve this:
|
kou
commented
Sep 30, 2022
|
js8544
commented
Sep 30, 2022
I've pinned Brew llvm version to 14. Also filed https://issues.apache.org/jira/browse/ARROW-17902 to track current workarounds for LLVM 15 related issues. |
js8544
commented
Sep 30, 2022
@github-actions crossbow submit java-jars |
Revision: 39437b059b466a00de6778034610600de6e15d0c Submitted crossbow builds: ursacomputing/crossbow @ actions-e128cce1c4
|
js8544
commented
Sep 30, 2022
@github-actions crossbow submit java-jars |
Revision: dfb7e2d71450a3bff7191d2dda633c85d618b035 Submitted crossbow builds: ursacomputing/crossbow @ actions-77a61b58b9
|
dfb7e2d to
5710f8bComparejs8544
commented
Sep 30, 2022
@github-actions crossbow submit java-jars |
js8544
commented
Oct 1, 2022
@github-actions crossbow submit java-jars |
Revision: 5710f8b Submitted crossbow builds: ursacomputing/crossbow @ actions-632d4e01ac
|
pitrou
commented
Oct 3, 2022
lidavidm
commented
Oct 3, 2022
From a quick glance only: why are we reserving if we're resizing immediately afterwards anyways? |
js8544
commented
Oct 3, 2022
Because the |
lidavidm
commented
Oct 3, 2022
Ah, thanks for the explanation. I think it would be best if we could implement reserve for Java-allocated buffers, but I am not familiar with the code and don't have time to look at it. |
lidavidm
commented
Oct 3, 2022
That said: it seems like we could recycle the logic for resize here to also implement reserve? arrow/java/gandiva/src/main/cpp/jni_common.cc Lines 715 to 753 in 5fd54bc |
js8544
commented
Oct 4, 2022
It seems like we can. I can take a look later today if you don't have time for it. |
pitrou
commented
Oct 5, 2022
@js8544 Are you closing this PR in favor of another one? |
js8544
commented
Oct 5, 2022
See previous discussions at #14261 Authored-by: Jin Shang <shangjin1997@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>
See previous discussions at apache/arrow#14261 Authored-by: Jin Shang <shangjin1997@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>
Java's buffer type doesn't support reserve, which causes java-jars to fail.