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 的往返过程,然后验证已加载的向量保留原始字段名称,而不是 ""。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
data
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。