apache / apache/arrow-java

[Java] StructVectorLoader load function creates a vector with "" as name

未關閉
#77 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
94
分支
152
平均合併
3 天 16 小時
30 天內合併 PR
11

描述

### Describe the enhancement requested

`StructVectorLoader` `load` function does the following to create the resultant `StructVector`.

```java
StructVector result = StructVector.emptyWithDuplicates("", allocator);
```

Even though the buffers are properly re-created, it doesn't contain accurate field names, since the original vector's name cannot be recovered here. This would be an issue when the `StructVectorUnloader` and `StructVectorLoader` is used in a certain program.

### Component(s)

Java

貢獻指南

開啟貢獻指南

研究方向

先閱讀 issue 中描述的 StructVectorLoader load 函式以及與 StructVectorUnloader 的互動。重現建立空名稱 StructVector 的 round trip,然後確認載入的向量保留原始欄位名稱,而不是 ""。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
data
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。