apache / apache/arrow-java

[Java] NullableDateMilliVector.getObject() should return a LocalDate, not a LocalDateTime

未关闭
#422 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Type: bug
主要语言
Java
星标
94
派生
152
平均合并
3 天 16 小时
30 天内合并 PR
11

描述

NullableDateMilliVector.getObject() today returns a LocalDateTime. However, this vector is used to store date information, and thus, getObject() should return a LocalDate.

Please note: there already exists a vector that returns LocalDateTime –
the NullableTimestampMilliVector.

**Reporter**: [Vanco Buca](https://issues.apache.org/jira/browse/ARROW-1984)
#### PRs and other links:
- [GitHub Pull Request apache/arrow#5315](https://github.com/apache/arrow/pull/5315)

**Note**: *This issue was originally created as [ARROW-1984](https://issues.apache.org/jira/browse/ARROW-1984). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

贡献指南

打开贡献指南

调研方向

从 NullableDateMilliVector.getObject() 入手,并将其行为与 NullableTimestampMilliVector 进行比较,issue 将后者标识为 LocalDateTime 的实现。在进行更改之前,确认现有的 GitHub pull request 和迁移上下文;完成的标准是日期向量返回 LocalDate,而时间戳向量保持独立。

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

评估

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

把新 issue 发到你的邮箱

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