hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4579) Create a SARG interface for RecordReaders
Date Sat, 10 Aug 2013 23:43:48 GMT

    [ https://issues.apache.org/jira/browse/HIVE-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13736113#comment-13736113
] 

Edward Capriolo commented on HIVE-4579:
---------------------------------------

One other q.

{quote}
+  public static enum Type {
+    INTEGER, // all of the integer types
+    FLOAT,   // float and double
+    STRING
+  }

{quote}

Should we call these Integral, Real instead of INTEGER, FLOAT? Or should we call them LONG
and DOUBLE? Because naming them the widest type might make more sense?
                
> Create a SARG interface for RecordReaders
> -----------------------------------------
>
>                 Key: HIVE-4579
>                 URL: https://issues.apache.org/jira/browse/HIVE-4579
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>         Attachments: h-4579.patch, HIVE-4579.D11409.1.patch, HIVE-4579.D11409.2.patch,
pushdown.pdf
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message