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

[Go] Remove panic from parquet.file.RowGroupReader.Column(index int)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 9.0.0
    • 10.0.0
    • Go

    Description

      parquet.file.RowGroupReader.Column(index int) panics if the the provided column index is invalid. Return an error as the rest of the functions in the codebase return an error as well.  For example GetColumnPageReader returns (PageReader, error) 

      https://github.com/apache/arrow/blob/master/go/parquet/file/row_group_reader.go#L58

      Attachments

        Issue Links

          Activity

            People

              ggodik George Godik
              ggodik George Godik
              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 - 1h
                  1h