Skip to content

Commit

Permalink
Fix broken selective_reader_tests
Browse files Browse the repository at this point in the history
Summary: Fix tests that were not run at diff time

Differential Revision: D58592959
  • Loading branch information
Yuhta authored and facebook-github-bot committed Jun 14, 2024
1 parent 4dbe29c commit b8b53ee
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions velox/dwio/dwrf/reader/DwrfReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@ class DwrfRowReader : public StrideIndexProvider,

int64_t nextReadSize(uint64_t size) override;

std::shared_ptr<const RowType> getType() const {
if (columnSelector_) {
return columnSelector_->getSchema();
}
return options_.requestedType();
}

private:
// footer
std::vector<uint64_t> firstRowOfStripe_;
Expand Down Expand Up @@ -176,13 +183,6 @@ class DwrfRowReader : public StrideIndexProvider,
const dwio::common::Statistics& stats,
uint32_t nodeId) const;

std::shared_ptr<const RowType> getType() const {
if (columnSelector_) {
return columnSelector_->getSchema();
}
return options_.requestedType();
}

bool isEmptyFile() const {
return (stripeCeiling_ == firstStripe_);
}
Expand Down

0 comments on commit b8b53ee

Please sign in to comment.