Skip to content

Commit

Permalink
Update TestStripeStream.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kewang1024 committed Jan 29, 2025
1 parent 3596714 commit 95746a3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions velox/dwio/dwrf/test/TestStripeStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ class RecordingInputStream : public facebook::velox::InMemoryReadFile {
public:
RecordingInputStream() : InMemoryReadFile(std::string()) {}

std::string_view pread(uint64_t offset, uint64_t length, void* buf)
const override {
std::string_view pread(
uint64_t offset,
uint64_t length,
void* buf,
io::IoStatistics* stats) const override {
reads_.push_back({offset, length});
return {static_cast<char*>(buf), length};
}
Expand Down

0 comments on commit 95746a3

Please sign in to comment.