diff --git a/dwio/nimble/common/tests/TestUtils.h b/dwio/nimble/common/tests/TestUtils.h index 93b1a41..ea3d1ee 100644 --- a/dwio/nimble/common/tests/TestUtils.h +++ b/dwio/nimble/common/tests/TestUtils.h @@ -294,7 +294,7 @@ class InMemoryTrackableReadFile final : public velox::ReadFile { uint64_t offset, uint64_t length, void* buf, - velox::io::IoStatistics* stats = nullptr) const final { + velox::filesystems::FileSystemStatistics* stats = nullptr) const final { chunks_.wlock()->push_back({offset, length}); return file_.pread(offset, length, buf, stats); } @@ -302,7 +302,7 @@ class InMemoryTrackableReadFile final : public velox::ReadFile { std::string pread( uint64_t offset, uint64_t length, - velox::io::IoStatistics* stats = nullptr) const final { + velox::filesystems::FileSystemStatistics* stats = nullptr) const final { chunks_.wlock()->push_back({offset, length}); return file_.pread(offset, length, stats); } @@ -310,14 +310,15 @@ class InMemoryTrackableReadFile final : public velox::ReadFile { uint64_t preadv( uint64_t /* offset */, const std::vector>& /* buffers */, - velox::io::IoStatistics* stats = nullptr) const final { + velox::filesystems::FileSystemStatistics* stats = nullptr) const final { NIMBLE_NOT_SUPPORTED("Not used by Nimble"); } uint64_t preadv( folly::Range regions, folly::Range iobufs, - velox::io::IoStatistics* stats = nullptr) const override { + velox::filesystems::FileSystemStatistics* stats = + nullptr) const override { VELOX_CHECK_EQ(regions.size(), iobufs.size()); uint64_t length = 0; for (size_t i = 0; i < regions.size(); ++i) {