Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-17039

[C++] Partition schema() method is not const supported.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 9.0.0
    • C++

    Description

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

      Attachments

        Issue Links

          Activity

            People

              vibhatha Vibhatha Lakmal Abeykoon
              vibhatha Vibhatha Lakmal Abeykoon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m