Skip to content

Commit

Permalink
Fix CompactionAction doc misspelling
Browse files Browse the repository at this point in the history
  • Loading branch information
eric9204 committed Sep 25, 2024
1 parent cba8447 commit bb20f37
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,14 @@ protected Predicate getPredicate() throws Exception {
predicate = simpleSqlPredicateConvertor.convertSqlToPredicate(whereSql);
}

// Check whether predicate contain non parition key.
// Check whether predicate contain non partition key.
if (predicate != null) {
LOGGER.info("the partition predicate of compaction is {}", predicate);
PartitionPredicateVisitor partitionPredicateVisitor =
new PartitionPredicateVisitor(table.partitionKeys());
Preconditions.checkArgument(
predicate.visit(partitionPredicateVisitor),
"Only parition key can be specialized in compaction action.");
"Only partition key can be specialized in compaction action.");
}

return predicate;
Expand Down

0 comments on commit bb20f37

Please sign in to comment.