apache / apache/parquet-java

Add 'mask' command to parquet-tools/parquet-cli

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

描述

Some personal data columns need to be masked instead of being pruned(Parquet-1791). We need a tool to replace the raw data columns with masked value. The masked value could be hash, null, redact etc.  For the unchanged columns, they should be moved as a whole like 'merge', 'prune' command in Parquet-tools. 

 

Implementing this feature in file format is 10X faster than doing it by rewriting the table data in the query engine. 

**Reporter**: [Xinli Shang](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=shangx@uber.com) / @shangxinli
**Assignee**: [Xinli Shang](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=shangx@uber.com) / @shangxinli
#### Subtasks:
- [ ] [Add null command ](https://github.com/apache/parquet-java/issues/2525)
- [ ] [Add hash functionality ](https://github.com/apache/parquet-java/issues/1601)

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

贡献指南

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

调研方向

Start in the parquet-tools/parquet-cli command implementations, using the existing merge and prune commands as references. Review the linked null and hash subtasks before deciding how masking should support hash, null, and redact values. Done means a mask command replaces selected raw columns while moving unchanged columns as a whole.

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

评估

技术栈
java
领域
cli, data-engineering
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

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