apache / apache/parquet-java

[parquet-tools] dump command shows binary values differenty than the cat or head commands

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

描述

`parquet-tools dump` shows binary values as strings, if they are valid UTF-8 sequences.

`parquet-tools cat` and `parquet-tools head` show binary values base64-encoded, regardless of whether they are valid UTF-8 sequences or not.

(If the type is annotated as UTF-8, the values are shown as strings by all of these commands.)

**Reporter**: [Zoltan Ivanfi](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=zi) / @zivanfi

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

贡献指南

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

调研方向

首先定位 parquet-tools 对 dump、cat 和 head 命令的实现,并比较它们如何呈现二进制值。确认现有的 UTF-8 注解行为,然后通过使用具有代表性的值检查命令输出,使未注解的二进制输出与 cat 和 head 保持一致。

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

评估

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

把新 issue 发到你的邮箱

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