Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ private boolean syncPartitions(String tableName, List<PartitionEvent> partitionE

List<String> touchPartitions = config.getBoolean(META_SYNC_TOUCH_PARTITIONS_ENABLED) ? filterPartitions(partitionEventList, PartitionEventType.TOUCH) : Collections.emptyList();
if (!touchPartitions.isEmpty()) {
log.info("Touch Partitions " + touchPartitions);
log.info("Touch Partitions {}", touchPartitions);
syncClient.touchPartitionsToTable(tableName, touchPartitions);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,10 @@ public String getPartitionClause(String partition) {
@Override
public void touchPartitionsToTable(String tableName, List<String> touchPartitions) {
if (touchPartitions.isEmpty()) {
log.info("No partitions to touch for " + tableName);
log.info("No partitions to touch for {}", tableName);
return;
}
log.info("Touching partitions " + touchPartitions.size() + " on " + tableName);
log.info("Touching partitions {} on {}", touchPartitions.size(), tableName);
List<String> sqls = constructPartitionAlterStatements(tableName, touchPartitions, PartitionAlterType.TOUCH);
for (String sql : sqls) {
runSQL(sql);
Expand Down
Loading