kgyrtkirk commented on a change in pull request #1105:
URL: https://github.com/apache/hive/pull/1105#discussion_r452141162
##########
File path:
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java
##########
@@ -240,40 +243,27 @@ void checkTable(String catName, String dbName, String
tableName,
}
PartitionIterable parts;
- boolean findUnknownPartitions = true;
if (isPartitioned(table)) {
- if (partitions == null || partitions.isEmpty()) {
+ if (filterExp != null) {
+ List<Partition> results = new ArrayList<>();
+ getPartitionListByFilterExp(getMsc(), table, filterExp,
Review comment:
yeah I understand...sometimes we have to cook from what we have :D

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]