apache / apache/parquet-java

The page compressedSize printed by the ShowPagesCommand is actually uncompressedSize

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

描述

It seems that the data page obtained by calling PageReader.readPage() (L122 in ShowPagesCommand) is decompressed, and the bytes obtained by DataPageV1 is decompressed.

**Reporter**: [Yujiang Zhong](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=zhongyuj) / @zhongyujiang
#### Original Issue Attachments:
- [59fa778d-d870-49f2-87f7-046e2e87ef9f.jpeg](https://issues.apache.org/jira/secure/attachment/13066545/59fa778d-d870-49f2-87f7-046e2e87ef9f.jpeg)
- [image-2024-02-07-16-48-08-016.png](https://issues.apache.org/jira/secure/attachment/13066544/image-2024-02-07-16-48-08-016.png)

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

贡献指南

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

调研方向

从 issue 中指出的 ShowPagesCommand 内 PageReader.readPage() 调用处开始,然后跟踪 DataPageV1 如何暴露其字节以及如何打印 compressedSize。重现该命令的页面大小输出,并确认显示的值表示解压缩后的数据;当报告的压缩大小与压缩后的页面数据匹配时,即视为完成。

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

评估

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

把新 issue 发到你的邮箱

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