Skip to content

Commit

Permalink
Wiring up the column statistics returned from the FileWriter by all…
Browse files Browse the repository at this point in the history
…owing access to the footer in the `velox::dwrf::Writer`. (#10554)

Summary:
Pull Request resolved: #10554

The `FileWriter` now has a new getter for the footer.

Reviewed By: Yuhta

Differential Revision: D59924728

fbshipit-source-id: c0abd5cbb5ec75eb88e7c97b42414ec19032772e
  • Loading branch information
Muhammad Faisal authored and facebook-github-bot committed Aug 9, 2024
1 parent 6d156e4 commit 1629101
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions velox/dwio/dwrf/writer/Writer.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ class Writer : public dwio::common::Writer {
return writerBase_->getContext();
}

const proto::Footer& getFooter() const {
return writerBase_->getFooter();
}

WriterSink& getSink() {
return writerBase_->getSink();
}
Expand Down

0 comments on commit 1629101

Please sign in to comment.