Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
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); }