Skip to content

Commit f2d33e3

Browse files
committed
address comments
1 parent acddf78 commit f2d33e3

File tree

2 files changed

+4
-4
lines changed
  • standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools

2 files changed

+4
-4
lines changed

standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/HMSClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ void addPartitions(List<Partition> partitions) throws TException {
279279
client.add_partitions(partitions);
280280
}
281281

282-
void updatePartitionColumnStatistics(ColumnStatistics colStats) throws TException {
282+
void updatePartitionColumnStats(ColumnStatistics colStats) throws TException {
283283
client.update_partition_column_statistics(colStats);
284284
}
285285

standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/Util.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ static Object addManyPartitions(@NotNull HMSClient client,
616616
return null;
617617
}
618618

619-
static Object updateManyPartitionsStat(@NotNull HMSClient client,
619+
static Object updateManyPartitionsStats(@NotNull HMSClient client,
620620
@NotNull String dbName,
621621
@NotNull String tableName,
622622
@NotNull List<String> partNames) throws TException {
@@ -629,7 +629,7 @@ static Object updateManyPartitionsStat(@NotNull HMSClient client,
629629
partDesc.setPartName(partName);
630630
ColumnStatistics partColStat = new ColumnStatistics(partDesc, statsObj);
631631
partColStat.setEngine("hive");
632-
client.updatePartitionColumnStatistics(partColStat);
632+
client.updatePartitionColumnStats(partColStat);
633633
}
634634
return null;
635635
}
@@ -653,7 +653,7 @@ static void updateManyPartitionsStatsNoException(@NotNull HMSClient client,
653653
@NotNull String tableName,
654654
@NotNull List<String> partNames) {
655655
throwingSupplierWrapper(() ->
656-
updateManyPartitionsStat(client, dbName, tableName, partNames));
656+
updateManyPartitionsStats(client, dbName, tableName, partNames));
657657
}
658658

659659
/**

0 commit comments

Comments
 (0)