Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4579

Create a SARG interface for RecordReaders

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:
      None

      Description

      I think we should create a SARG (http://en.wikipedia.org/wiki/Sargable) interface for RecordReaders. For a first pass, I'll create an API that uses the value stored in hive.io.filter.expr.serialized.

      The desire is to define an simpler interface that the direct AST expression that is provided by hive.io.filter.expr.serialized so that the code to evaluate expressions can be generalized instead of put inside a particular RecordReader.

        Attachments

        1. pushdown.pdf
          91 kB
          Owen O'Malley
        2. HIVE-4579.D11409.3.patch
          193 kB
          Phabricator
        3. HIVE-4579.D11409.2.patch
          192 kB
          Phabricator
        4. HIVE-4579.D11409.1.patch
          192 kB
          Phabricator
        5. HIVE-4579.4.patch
          194 kB
          Gunther Hagleitner
        6. h-4579.patch
          8 kB
          Owen O'Malley

          Issue Links

            Activity

              People

              • Assignee:
                omalley Owen O'Malley
                Reporter:
                omalley Owen O'Malley
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: