Skip to content

ORC-1571: Supports displaying raw data size in the meta command of orc-tools - #1726

Closed
cxzl25 wants to merge 1 commit into
apache:mainfrom
cxzl25:ORC-1571
Closed

cxzl25 wants to merge 1 commit into
apache:mainfrom
cxzl25:ORC-1571

Conversation

@cxzl25

@cxzl25 cxzl25 commented Jan 5, 2024

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Display raw data size in meta command

Why are the changes needed?

We can directly see the compressed orc file size and uncompressed data size.
Like parquet-cli

Row group 0:  count: 1000  210.95 B records  start: 4  total(compressed): 206.006 kB total(uncompressed):10.733 MB

How was this patch tested?

UT

@github-actions github-actions Bot added the JAVA label Jan 5, 2024

@dongjoon-hyun dongjoon-hyun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM. Thank you, @cxzl25 .

@dongjoon-hyun dongjoon-hyun added this to the 2.0.0 milestone Jan 5, 2024
cxzl25 added a commit to cxzl25/orc that referenced this pull request Jan 11, 2024
…orc-tools

### What changes were proposed in this pull request?
Display raw data size in `meta` command

### Why are the changes needed?
We can directly see the compressed orc file size and uncompressed data size.
Like `parquet-cli`

```
Row group 0:  count: 1000  210.95 B records  start: 4  total(compressed): 206.006 kB total(uncompressed):10.733 MB
```

### How was this patch tested?
UT

Closes apache#1726 from cxzl25/ORC-1571.

Authored-by: sychen <sychen@ctrip.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants