You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/06/01 13:19:00 UTC
[jira] [Assigned] (HIVE-26281) Missing statistics when requesting partition by names via HS2
[ https://issues.apache.org/jira/browse/HIVE-26281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stamatis Zampetakis reassigned HIVE-26281:
------------------------------------------
> Missing statistics when requesting partition by names via HS2
> -------------------------------------------------------------
>
> Key: HIVE-26281
> URL: https://issues.apache.org/jira/browse/HIVE-26281
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Reporter: Stamatis Zampetakis
> Assignee: Stamatis Zampetakis
> Priority: Major
>
> [Hive#getPartitionsByNames|https://github.com/apache/hive/blob/6626b5564ee206db5a656d2f611ed71f10a0ffc1/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java#L4155] method can be used to obtain partition objects from the metastore by specifying their names and other options.
> {code:java}
> public List<Partition> getPartitionsByNames(Table tbl, List<String> partNames, boolean getColStats){code}
> However, the partition statistics are missing from the returned objects no matter the value of the {{getColStats}} parameter.
> The problem is [here|https://github.com/apache/hive/blob/6626b5564ee206db5a656d2f611ed71f10a0ffc1/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java#L4174] and was caused by HIVE-24743.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)