[
https://issues.apache.org/jira/browse/ARROW-17039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-17039:
-----------------------------------
Labels: pull-request-available (was: )
> [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
> Time Spent: 10m
> 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)