Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-961

[C++] Expose metrics of the reader

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.9.0
    • C++
    • None

    Description

      It'd be useful for clients to collect metrics of the evaluation of the pushed down predicates. Currently SargsApplier keeps track of the selected RowGroups and evaluated RowGroups:
      https://github.com/apache/orc/blob/40ee321b209cad1de73fc97b653636aa0fff28f6/c++/src/sargs/SargsApplier.hh#L79-L81

      However, we are lack of an interface in RowReader to expose the metrics. Note that sargsApplier is a private member inside RowReaderImpl. We need an interface to expose it or only its stats.

      It'd also be useful if we expose other metrics of a RowReader, e.g. acutal mem usage, time elapsed in decoding/decompression, time elapsed in evaluating SearchArguments.

      Attachments

        Issue Links

          Activity

            People

              stigahuang Quanlong Huang
              stigahuang Quanlong Huang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: