[Java] Memory allocation alignment
- 主要言語
- Java
- スター
- 94
- フォーク
- 152
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 11
説明
### Describe the bug, including details regarding any error messages, version, and platform.
We see memory alignment error when passing arrays allocated using Java arrow to Rust arrow. This is due to strict memory alignment requirement (https://github.com/apache/arrow-rs/issues/4431) at Rust side. I have described the issue there.
So as it looks like it is impossible to access unaligned memory pointers at Rust side. I'm wondering if we could change Java arrow on memory allocation? Could we allocate memory with alignment for arrays in Java arrow so it could be safely sent to other arrow ecosystems?
### Component(s)
Java
コントリビューションガイド
調査の方向性
まず、Javaコンポーネントのメモリ割り当てパスと、リンクされているarrow-rsのissue 4431を確認します。Java ArrowがRust Arrowと共有される配列に必要なアライメントを提供できるかを判断し、issueを解決済みと見なすために必要な割り当て動作と検証を定義します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- data-engineering
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100