[ 
https://issues.apache.org/jira/browse/HIVE-23698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Panagiotis Garefalakis updated HIVE-23698:
------------------------------------------
    Description: 
Similar to what we currently do for StorageHandlers, we should pushdown the 
static expression for row-level filtering when the file-format supports the 
feature (ORC).

I propose to split the  filterExpr to residual and pushed predicate. If 
predicate is completely pushed then we remove the operator.
If its partially pushed we are not updating the filter as its could trigger 
constantFolding (and thus clearing existing TsFilters)

> Compiler support for row-level filtering on filterPredicates
> ------------------------------------------------------------
>
>                 Key: HIVE-23698
>                 URL: https://issues.apache.org/jira/browse/HIVE-23698
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Panagiotis Garefalakis
>            Assignee: Panagiotis Garefalakis
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Similar to what we currently do for StorageHandlers, we should pushdown the 
> static expression for row-level filtering when the file-format supports the 
> feature (ORC).
> I propose to split the  filterExpr to residual and pushed predicate. If 
> predicate is completely pushed then we remove the operator.
> If its partially pushed we are not updating the filter as its could trigger 
> constantFolding (and thus clearing existing TsFilters)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to