You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Vibhatha Lakmal Abeykoon (Jira)" <ji...@apache.org> on 2022/07/11 14:54:00 UTC

[jira] [Created] (ARROW-17039) [C++] Partition schema() method is not const supported.

Vibhatha Lakmal Abeykoon created ARROW-17039:
------------------------------------------------

             Summary: [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


`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)