Title: Performance: Presize JsonStringArrayList vector results · Issue #816 · apache/arrow-java · GitHub
Open Graph Title: Performance: Presize JsonStringArrayList vector results · Issue #816 · apache/arrow-java
X Title: Performance: Presize JsonStringArrayList vector results · Issue #816 · apache/arrow-java
Description: Describe the enhancement requested FixedSizeListVector#getObject already performs this optimization; however, ListVector, ListViewVector, LargeListVector, and LargeListViewVector do not yet presize the result JsonStringArrayList requirin...
Open Graph Description: Describe the enhancement requested FixedSizeListVector#getObject already performs this optimization; however, ListVector, ListViewVector, LargeListVector, and LargeListViewVector do not yet presize...
X Description: Describe the enhancement requested FixedSizeListVector#getObject already performs this optimization; however, ListVector, ListViewVector, LargeListVector, and LargeListViewVector do not yet presize...
Opengraph URL: https://github.com/apache/arrow-java/issues/816
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Performance: Presize JsonStringArrayList vector results","articleBody":"### Describe the enhancement requested\n\n`FixedSizeListVector#getObject` already performs this optimization; however, `ListVector`, `ListViewVector`, `LargeListVector`, and `LargeListViewVector` do not yet presize the result `JsonStringArrayList` requiring dynamic reallocations as elements are converted \u0026 added. This can become a scalability bottleneck when using these types.\n\nExample of `FixedSizeListVector` presizing: \n\nhttps://github.com/apache/arrow-java/blob/a6245ab87c782e2b873526acbd876cdf96d1f0ee/vector/src/main/java/org/apache/arrow/vector/complex/FixedSizeListVector.java#L476-L482\n\nExample `ListVector` not presizing:\n\nhttps://github.com/apache/arrow-java/blob/a6245ab87c782e2b873526acbd876cdf96d1f0ee/vector/src/main/java/org/apache/arrow/vector/complex/ListVector.java#L718-L727","author":{"url":"https://github.com/schlosna","@type":"Person","name":"schlosna"},"datePublished":"2025-08-11T17:36:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/816/arrow-java/issues/816"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fda112d0-c2e6-c655-e2a7-203713ae6c1a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AAF6:9FE98:26160D2:348DF07:6A4EF841 |
| html-safe-nonce | 2b452e697d4e910271d8c6fc1ed152c728c61995f56f6e264f9bf30edbf621e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUY2OjlGRTk4OjI2MTYwRDI6MzQ4REYwNzo2QTRFRjg0MSIsInZpc2l0b3JfaWQiOiI1MTg4Nzk0MzMyMTk1Njk3MzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 539f46e3f04b4068e144f7a6fe2392a87cfaa9b7fddb54bf6df3115f5c0166b5 |
| hovercard-subject-tag | issue:3310996927 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/arrow-java/816/issue_layout |
| twitter:image | https://opengraph.githubassets.com/410a7e47b2fa600924085ab6bee110567753da9ad74b533d329f274f202e01dc/apache/arrow-java/issues/816 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/410a7e47b2fa600924085ab6bee110567753da9ad74b533d329f274f202e01dc/apache/arrow-java/issues/816 |
| og:image:alt | Describe the enhancement requested FixedSizeListVector#getObject already performs this optimization; however, ListVector, ListViewVector, LargeListVector, and LargeListViewVector do not yet presize... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | schlosna |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/arrow-java git https://github.com/apache/arrow-java.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 893682219 |
| octolytics-dimension-repository_nwo | apache/arrow-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 893682219 |
| octolytics-dimension-repository_network_root_nwo | apache/arrow-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width