hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <>
Subject [jira] [Commented] (HIVE-4579) Create a SARG interface for RecordReaders
Date Wed, 29 May 2013 05:16:25 GMT


Owen O'Malley commented on HIVE-4579:

Eric, thanks for the comments!

You're right that I was mistaken when I thought that 10 > NULL was FALSE. :( It is NULL
and NOT(NULL) is still NULL. Therefore, you are right that you can translate NOT(COL >
10) to COL <= 10.

The "maybe" answers are the parts of the SARG that can't be answered definitively by the information
in the index. For example, if the SARG is "age > 99" and the min age is 1 and the max age
is 101, the value of the predicate is "maybe."

I think you mean that such clauses will be removed from the SARG and treated as a residual.{quote}


For "The primitive clauses will be
extended to include presence in a bloom filter" do you mean that bloom filters will be added
as a primitive clause type later? 

> Create a SARG interface for RecordReaders
> -----------------------------------------
>                 Key: HIVE-4579
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>         Attachments: h-4579.patch, pushdown.pdf
> I think we should create a SARG ( interface for
RecordReaders. For a first pass, I'll create an API that uses the value stored in
> The desire is to define an simpler interface that the direct AST expression that is provided
by 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:

View raw message