Skip to content

Commit

Permalink
Minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Khuwnchai J committed Jun 12, 2022
1 parent b3f658e commit 693c493
Showing 1 changed file with 11 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -678,22 +678,21 @@ public boolean dropPartition(String dbName, String tblName, List<String> values,
return glueMetastoreClientDelegate.dropPartition(dbName, tblName, values, options.ifExists, options.deleteData, options.purgeData);
}

@Override
public boolean dropPartition(String dbName, String tblName, String partitionName, boolean deleteData)
throws NoSuchObjectException, MetaException, TException {
List<String> values = partitionNameToVals(partitionName);
return glueMetastoreClientDelegate.dropPartition(dbName, tblName, values, false, deleteData, false);
}

@Override
public List<org.apache.hadoop.hive.metastore.api.Partition> dropPartitions(
String dbName,
String tblName,
List<ObjectPair<Integer, byte[]>> partExprs,
boolean deleteData,
boolean ifExists
) throws NoSuchObjectException, MetaException, TException {
throw new UnsupportedOperationException("dropPartitions is not supported");
}

@Override
public boolean dropPartition(String dbName, String tblName, String partitionName, boolean deleteData)
throws NoSuchObjectException, MetaException, TException {
List<String> values = partitionNameToVals(partitionName);
return glueMetastoreClientDelegate.dropPartition(dbName, tblName, values, false, deleteData, false);
boolean ifExists) throws NoSuchObjectException, MetaException, TException {
return dropPartitions_core(dbName, tblName, partExprs, deleteData, false);
}

@Override
Expand Down Expand Up @@ -1553,11 +1552,8 @@ public boolean isSameConfObj(HiveConf hiveConf) {
}

@Override
public boolean cacheFileMetadata(
String dbName,
String tblName,
String partName,
boolean allParts) throws TException {
public boolean cacheFileMetadata(String dbName, String tblName, String partName, boolean allParts)
throws TException {
return glueMetastoreClientDelegate.cacheFileMetadata(dbName, tblName, partName, allParts);
}

Expand Down

0 comments on commit 693c493

Please sign in to comment.