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

ASF GitHub Bot updated HIVE-26778:
----------------------------------
    Labels: pull-request-available  (was: )

> Pushdown Date data type to metastore via direct sql / JDO
> ---------------------------------------------------------
>
>                 Key: HIVE-26778
>                 URL: https://issues.apache.org/jira/browse/HIVE-26778
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Syed Shameerur Rahman
>            Assignee: Syed Shameerur Rahman
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The original feature to push down date data type while doing partition 
> pruning via direct sql / JDO was added as part of the jira : 
> https://issues.apache.org/jira/browse/HIVE-5679
> Since the behavior of Hive has changed with CBO, Now when CBO is turned on, 
> The date data types are not pushed down to metastore due to CBO adding extra 
> keyword 'DATE' with the original filter since the filter parser is not 
> handled to parse this extra keyword it fails and hence the date data type is 
> not pushed down to the metastore.
> {code:java}
> select * from test_table where date_col = '2022-01-01';
> {code}
> When CBO is turned on, The filter predicate generated is 
> date_col=DATE'2022-01-01'  which the filter parser fails to recognize.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to