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

Owen O'Malley commented on HIVE-4579:
-------------------------------------

Just to be clear, the sql semantics are:

|| Arg1 || Arg2 || Arg1 OR Arg2 ||
| false | false | false |
| false | true  | true |
| false | null | null |
| true | false | true |
| true | true | true |
| true | null | true |
| null | false | null |
| null | true | true |
| null | null | null |

|| Arg1 || Arg2 || Arg1 AND Arg2 ||
| false | false | false |
| false | true  | false |
| false | null | false |
| true | false | false |
| true | true | true |
| true | null | null |
| null | false | false |
| null | true | null |
| null | null | null |

|| Arg1 || NOT Arg1 ||
| false | true |
| true | false |
| null | null |


                
> 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, 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

Reply via email to