public List<String> getPartitionNames(org.apache.hadoop.hive.ql.metadata.Table hmsTable,
      Map<String, String> partitionSpec) throws SemanticException {
    Table icebergTable = IcebergTableUtil.getTable(conf, hmsTable.getTTable());
    return IcebergTableUtil.getPartitionNames(icebergTable, partitionSpec, false);
  }
Returns a list of partitions which are corresponding to the table based on the partition spec provided.
@param hmsTable A Hive table instance.
@param partitionSpec Map containing partition specification.
@return A list of partition values which satisfies the partition spec provided corresponding to the table.
@throws SemanticException Exception raised when there is an issue performing a scan on the partitions table.
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java