Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Merge 900ce2a into c9bc237
Browse files Browse the repository at this point in the history
  • Loading branch information
majetideepak committed May 29, 2018
2 parents c9bc237 + 900ce2a commit e933f59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/parquet/metadata.cc
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class ColumnChunkMetaData::ColumnChunkMetaDataImpl {

const std::vector<Encoding::type>& encodings() const { return encodings_; }

inline int64_t has_dictionary_page() const {
inline bool has_dictionary_page() const {
return column_->meta_data.__isset.dictionary_page_offset;
}

Expand Down Expand Up @@ -206,7 +206,7 @@ std::shared_ptr<RowGroupStatistics> ColumnChunkMetaData::statistics() const {

bool ColumnChunkMetaData::is_stats_set() const { return impl_->is_stats_set(); }

int64_t ColumnChunkMetaData::has_dictionary_page() const {
bool ColumnChunkMetaData::has_dictionary_page() const {
return impl_->has_dictionary_page();
}

Expand Down
2 changes: 1 addition & 1 deletion src/parquet/metadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class PARQUET_EXPORT ColumnChunkMetaData {
std::shared_ptr<RowGroupStatistics> statistics() const;
Compression::type compression() const;
const std::vector<Encoding::type>& encodings() const;
int64_t has_dictionary_page() const;
bool has_dictionary_page() const;
int64_t dictionary_page_offset() const;
int64_t data_page_offset() const;
int64_t index_page_offset() const;
Expand Down

0 comments on commit e933f59

Please sign in to comment.