Sourabh Badhya created HIVE-27168: ------------------------------------- Summary: 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
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)