apache / apache/parquet-java

Make MessageType serializable

未关闭
#2,035 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Component: Java Component: Parquet Priority: Major Type: enhancement
主要语言
Java
星标
3.1k
派生
1.6k
平均合并
3 天 12 小时
30 天内合并 PR
33

描述

Background: I'm writing `ParquetRDD` implementation to run on Apache Spark. One of the features I want to provide is the ability to create instance of `ParqeutRDD` with a projection (specify columns to be loaded)

Problem: Schema information is not serializable. Neither `MessageType` nor any other class that extends `Type` extends `Serializable`.

Question: Is there any specific reason why not to have it the `extends Serializable`?
If not, then I will be more then happy to provide PR.

**Reporter**: [Pawel Szulc](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rabbitonweb)

**Note**: *This issue was originally created as [PARQUET-850](https://issues.apache.org/jira/browse/PARQUET-850). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先检查 MessageType 和 Type 类层次结构,以确定哪些 schema 类需要序列化支持,然后在 repository 中查找现有的序列化测试。完成的标准是:相关 schema 对象可以序列化以供 ParquetRDD 使用,且不会破坏现有行为,并有测试覆盖结果。

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

评估

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

把新 issue 发到你的邮箱

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