apache/flink · error · UnsupportedOperationException
Unsupported partition commit predicate
Error message
Unsupported partition commit predicate: {trigger} What it means
Thrown by PartitionCommitPredicate.create when the configured 'sink.partition-commit.trigger' type maps to neither the partition-time nor processing-time predicate — the switch over PartitionCommitTriggerType falls through to an unsupported branch. The '{trigger}' literal is an unsubstituted placeholder for the trigger enum value read from configuration.
Solutions
- Address the cause reported by the error message: Unsupported partition commit predicate: the reported value
- Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry.
Example fix
Correct the condition described ("Unsupported partition commit predicate: the reported value") and rerun the job or command. Defensive patterns
Strategy: validation
When it happens
Trigger: Triggered at runtime when the operation fails because: Unsupported partition commit predicate: the reported value.
Common situations: Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Unsupported partition commit predicate: the reported value.
AI-assisted analysis of apache/flink@2f3c205e92 (2026-08-14).
Data as JSON: /api/errors/d913d1b07adfab98.
Report an issue: GitHub.
Appendix: source
Thrown at flink-connectors/flink-connector-files/src/main/java/org/apache/flink/connector/file/table/stream/PartitionCommitPredicate.java:97
Configuration conf, ClassLoader cl, List<String> partitionKeys) {
return new PartitionTimeCommitPredicate(conf, cl, partitionKeys);
}
static PartitionCommitPredicate createProcTimeCommitPredicate(Configuration conf) {
return new ProcTimeCommitPredicate(conf);
}
static PartitionCommitPredicate create(
Configuration conf, ClassLoader cl, List<String> partitionKeys) {
FileSystemConnectorOptions.PartitionCommitTriggerType trigger =
conf.get(FileSystemConnectorOptions.SINK_PARTITION_COMMIT_TRIGGER);
switch (trigger) {
case PARTITION_TIME:
return createPartitionTimeCommitPredicate(conf, cl, partitionKeys);
case PROCESS_TIME:
return createProcTimeCommitPredicate(conf);
default:
throw new UnsupportedOperationException(
"Unsupported partition commit predicate: " + trigger);
}
}
}
View on GitHub (pinned to 2f3c205e92)