[Java] StructVectorLoader load function creates a vector with "" as name
- Dominant language
- Java
- Stars
- 94
- Forks
- 152
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 11
Description
### 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
Contributor guide
Research direction
Start by reading the StructVectorLoader load function and the StructVectorUnloader interaction described in the issue. Reproduce the round trip that creates a StructVector with an empty name, then verify that the loaded vector retains the original field name instead of "".
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100