[
https://issues.apache.org/jira/browse/ARROW-17039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Pitrou resolved ARROW-17039.
------------------------------------
Fix Version/s: 9.0.0
Resolution: Fixed
Issue resolved by pull request 13572
[https://github.com/apache/arrow/pull/13572]
> [C++] Partition schema() method is not const supported.
> --------------------------------------------------------
>
> Key: ARROW-17039
> URL: https://issues.apache.org/jira/browse/ARROW-17039
> Project: Apache Arrow
> Issue Type: Improvement
> Reporter: Vibhatha Lakmal Abeykoon
> Assignee: Vibhatha Lakmal Abeykoon
> Priority: Minor
> Labels: pull-request-available
> Fix For: 9.0.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> `arrow/dataset/partition.h` contains the following method without `const`
> const std::shared_ptr<Schema>& schema() \{ return schema_; }
> Instead this shoud be
> const std::shared_ptr<Schema>& schema() const \{ return schema_; }
> This is a minor issue, but since this is in a core component.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)