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

Syed Shameerur Rahman reassigned HIVE-26778:
--------------------------------------------


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



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

Reply via email to