JigaoLuo opened a new issue, #7616:
URL: https://github.com/apache/arrow-rs/issues/7616
**Describe the bug**
I recently tested the encoding_stats feature #7341 in the Parquet writer
(thank you for the PR #7354 !) and noticed an issue when using the
`parquet-rewrite` tool.
Rewritten files do not include `encoding_stats` in the footer. I’m seeking
clarification on whether this is a configuration issue or a bug. I’m unsure
what’s causing this. If this isn’t expected behavior, this issue is a bug
report. If I’ve overlooked something obvious, please correct me. Thank you.
**To Reproduce**
```
$ parquet-rewrite ... # I rewrite a parquet file
$ parquet footer generated.parquet | grep "encodingStats"
"encodingStats" : null,
....
"encodingStats" : null,
```
The parquet tool I used is from `parquet-java` :
https://github.com/apache/parquet-java/tree/master/parquet-cli
**Expected behavior**
Should not be null in the footer.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]