Repository: parquet-cpp Updated Branches: refs/heads/master 72881a5b6 -> a80bf0294
PARQUET-605: Expose schema node in ColumnDescriptor Author: Korn, Uwe <[email protected]> Closes #99 from xhochy/parquet-605 and squashes the following commits: 0d444e5 [Korn, Uwe] PARQUET-605: Expose schema node in ColumnDescriptor Project: http://git-wip-us.apache.org/repos/asf/parquet-cpp/repo Commit: http://git-wip-us.apache.org/repos/asf/parquet-cpp/commit/a80bf029 Tree: http://git-wip-us.apache.org/repos/asf/parquet-cpp/tree/a80bf029 Diff: http://git-wip-us.apache.org/repos/asf/parquet-cpp/diff/a80bf029 Branch: refs/heads/master Commit: a80bf0294b690c6e91ddf5bc48eb5a748400d916 Parents: 72881a5 Author: Korn, Uwe <[email protected]> Authored: Sun May 8 17:53:28 2016 -0700 Committer: Wes McKinney <[email protected]> Committed: Sun May 8 17:53:28 2016 -0700 ---------------------------------------------------------------------- src/parquet/schema/descriptor.h | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/parquet-cpp/blob/a80bf029/src/parquet/schema/descriptor.h ---------------------------------------------------------------------- diff --git a/src/parquet/schema/descriptor.h b/src/parquet/schema/descriptor.h index 1686b90..7c04e59 100644 --- a/src/parquet/schema/descriptor.h +++ b/src/parquet/schema/descriptor.h @@ -53,6 +53,8 @@ class ColumnDescriptor { const std::shared_ptr<schema::ColumnPath> path() const; + const schema::NodePtr& schema_node() const { return node_; } + int type_length() const; int type_precision() const;
