parquet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject parquet-cpp git commit: PARQUET-766: Expose ParquetFileReader through Arrow reader as const
Date Sun, 06 Nov 2016 19:11:03 GMT
Repository: parquet-cpp
Updated Branches:
  refs/heads/master 954f63a1b -> a278998a8


PARQUET-766: Expose ParquetFileReader through Arrow reader as const

Author: Uwe L. Korn <uwelk@xhochy.com>

Closes #186 from xhochy/PARQUET-766 and squashes the following commits:

9a35ed7 [Uwe L. Korn] PARQUET-766: Expose ParquetFileReader through Arrow reader as const


Project: http://git-wip-us.apache.org/repos/asf/parquet-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/parquet-cpp/commit/a278998a
Tree: http://git-wip-us.apache.org/repos/asf/parquet-cpp/tree/a278998a
Diff: http://git-wip-us.apache.org/repos/asf/parquet-cpp/diff/a278998a

Branch: refs/heads/master
Commit: a278998a8e2a16646c3ccecc29a6672ed35a587c
Parents: 954f63a
Author: Uwe L. Korn <uwelk@xhochy.com>
Authored: Sun Nov 6 14:10:55 2016 -0500
Committer: Wes McKinney <wes.mckinney@twosigma.com>
Committed: Sun Nov 6 14:10:55 2016 -0500

----------------------------------------------------------------------
 src/parquet/arrow/reader.cc | 4 ++--
 src/parquet/arrow/reader.h  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/parquet-cpp/blob/a278998a/src/parquet/arrow/reader.cc
----------------------------------------------------------------------
diff --git a/src/parquet/arrow/reader.cc b/src/parquet/arrow/reader.cc
index a706cc2..bc8c62a 100644
--- a/src/parquet/arrow/reader.cc
+++ b/src/parquet/arrow/reader.cc
@@ -70,7 +70,7 @@ class FileReader::Impl {
   Status GetFlatColumn(int i, std::unique_ptr<FlatColumnReader>* out);
   Status ReadFlatColumn(int i, std::shared_ptr<Array>* out);
   Status ReadFlatTable(std::shared_ptr<Table>* out);
-  const ParquetFileReader* parquet_reader() { return reader_.get(); }
+  const ParquetFileReader* parquet_reader() const { return reader_.get(); }
 
  private:
   MemoryPool* pool_;
@@ -223,7 +223,7 @@ Status FileReader::ReadFlatTable(std::shared_ptr<Table>* out) {
   return impl_->ReadFlatTable(out);
 }
 
-const ParquetFileReader* FileReader::parquet_reader() {
+const ParquetFileReader* FileReader::parquet_reader() const {
   return impl_->parquet_reader();
 }
 

http://git-wip-us.apache.org/repos/asf/parquet-cpp/blob/a278998a/src/parquet/arrow/reader.h
----------------------------------------------------------------------
diff --git a/src/parquet/arrow/reader.h b/src/parquet/arrow/reader.h
index dc144f4..c6fc47d 100644
--- a/src/parquet/arrow/reader.h
+++ b/src/parquet/arrow/reader.h
@@ -100,7 +100,7 @@ class PARQUET_EXPORT FileReader {
   // Read a table of flat columns into a Table.
   ::arrow::Status ReadFlatTable(std::shared_ptr<::arrow::Table>* out);
 
-  const ParquetFileReader* parquet_reader();
+  const ParquetFileReader* parquet_reader() const;
 
   virtual ~FileReader();
 


Mime
View raw message