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 06:02:20 GMT


Owen O'Malley commented on HIVE-4579:

I need to add the null-safe equals as an primitive clause. Having NULL as a boolean value
makes things strange and I need to keep in mind that:

* P and not P is not always false (it may be null)
* P or not P is not always true (it may be null)

I see why you wanted HIVE-4478 since if a column has no nulls, the rules for predicate evaluation
are much tighter. :) Although we are going to want it in the index as well as in the stripe

> 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