You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sourabh Badhya (Jira)" <ji...@apache.org> on 2023/03/27 07:22:00 UTC

[jira] [Commented] (HIVE-27168) Use basename of the datatype when fetching partition metadata using partition filters

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

Sourabh Badhya commented on HIVE-27168:
---------------------------------------

Thanks [~kokila19] , [~rkirtir] , [~akshatm] , [~InvisibleProgrammer] , [~veghlaci05] , [~dkuzmenko] for the reviews.

> Use basename of the datatype when fetching partition metadata using partition filters
> -------------------------------------------------------------------------------------
>
>                 Key: HIVE-27168
>                 URL: https://issues.apache.org/jira/browse/HIVE-27168
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sourabh Badhya
>            Assignee: Sourabh Badhya
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> While fetching partition metadata using partition filters, we use the column type of the table directly. However, char/varchar types can contain extra information such as length of the char/varchar column and hence it skips fetching partition metadata due to this extra information.
> Solution: Use the basename of the column type while deciding on whether partition pruning can be done on the partitioned column.



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