Vihang Karajgaonkar created HIVE-23116: ------------------------------------------
Summary: get_partition_with_specs does not use filter spec when projection is empty Key: HIVE-23116 URL: https://issues.apache.org/jira/browse/HIVE-23116 Project: Hive Issue Type: Sub-task Reporter: Vihang Karajgaonkar Assignee: Vihang Karajgaonkar The API implementation ignores the filter spec if the project spec is empty as seen here [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java#L3903] if (fieldList == null || fieldList.isEmpty()) { // no fields are requested. Fallback to regular getPartitions implementation to return all the fields return getPartitionsInternal(table.getCatName(), table.getDbName(), table.getTableName(), -1, true, true); } -- This message was sent by Atlassian Jira (v8.3.4#803005)