Skip to content

Commit

Permalink
Merge pull request #10 from taiyang-li/fix_pr_9
Browse files Browse the repository at this point in the history
fix building issue introduced by https://github.com/ClickHouse-Extras…

(cherry picked from commit 20dc6ad)
  • Loading branch information
Avogar authored and nikitamikhaylov committed Oct 15, 2024
1 parent 21a89cf commit 4c22e00
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cpp/src/arrow/adapters/orc/adapter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,15 @@ ORCFileReader::ORCFileReader() { impl_.reset(new ORCFileReader::Impl()); }

ORCFileReader::~ORCFileReader() {}

liborc::Reader* ORCFileReader::GetRawORCReader() {
return impl_->GetRawORCReader();
}

Status ORCFileReader::Open(const std::shared_ptr<io::RandomAccessFile>& file,
MemoryPool* pool, std::unique_ptr<ORCFileReader>* reader) {
return Open(file, pool).Value(reader);
}

Result<std::unique_ptr<ORCFileReader>> ORCFileReader::Open(
const std::shared_ptr<io::RandomAccessFile>& file, MemoryPool* pool) {
#ifdef ARROW_ORC_NEED_TIME_ZONE_DATABASE_CHECK
Expand Down
1 change: 1 addition & 0 deletions cpp/src/arrow/adapters/orc/adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "arrow/type_fwd.h"
#include "arrow/util/macros.h"
#include "arrow/util/visibility.h"
#include "arrow/adapters/orc/adapter_util.h"

namespace arrow {
namespace adapters {
Expand Down

0 comments on commit 4c22e00

Please sign in to comment.