Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
leaves12138 committed Jun 18, 2024
1 parent bb992b2 commit ef5b4a4
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

package org.apache.paimon.flink.procedure;

import org.apache.paimon.CoreOptions;
import org.apache.paimon.catalog.Identifier;
import org.apache.paimon.flink.sink.FileIndexSink;
import org.apache.paimon.flink.sink.NoneCopyVersionedSerializerTypeSerializerProxy;
Expand Down Expand Up @@ -76,7 +77,13 @@ public String[] call(
partitionPredicate =
PredicateBuilder.or(
partitionList.stream()
.map(p -> PredicateBuilder.partition(p, table.rowType()))
.map(
p ->
PredicateBuilder.partition(
p,
table.rowType(),
CoreOptions.PARTITION_DEFAULT_NAME
.defaultValue()))
.toArray(Predicate[]::new));
} else {
partitionPredicate = null;
Expand Down

0 comments on commit ef5b4a4

Please sign in to comment.