apache / apache/parquet-java

"parquet-tools cat -j" should not output metadata

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

描述

Parquet-tools cat -help says:

```

parquet-tools cat:
Prints the content of a Parquet file. The output contains only the data, no
metadata is displayed
```

Let's say I have a structure like this in a Parquet file:
```json

{
"account":
[
{
"accountDepositType": "NA",
"accountNumber": "NA",
"accountHolderType": "NA"
}
]
}
```

it is extracted like this

```json

{
"account": {
"list": [
{
"element": {
"accountDepositType": "NA",
"accountNumber": "NA",
"accountHolderType": "NA"
}
}
]
}
}
```

**"list"** and **"element"** is metadata or type information if you like and it should not appear in output.

Can you please fix that ?

**Reporter**: [Dumitru Husleag](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dumitru21)

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

贡献指南

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

调研方向

从 parquet-tools cat -j 命令及其帮助文本开始,然后跟踪嵌套列表数据在 JSON 输出中的呈现方式。使用 issue 中的示例结构,验证列表和元素包装器被省略,同时 account 字段保持不变。完成的标准是:输出包含数据,但不包含这些元数据或类型信息节点。

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

评估

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

把新 issue 发到你的邮箱

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