Skip to content

Commit

Permalink
Document new features and improve documentation (#357)
Browse files Browse the repository at this point in the history
* Document new feature and update documentation

* Document new feature and update documentation

* Document new feature and update documentation
  • Loading branch information
ismailsimsek committed Jun 16, 2024
1 parent a50e07e commit f0495a6
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,9 @@ private Schema icebergSchema(boolean createIdentifierFields) {
// due to inconsistency in the after and before fields.
// For insert events, only the `before` field is NULL, while for delete events after field is NULL.
// This inconsistency prevents using either field as a reliable key.
throw new DebeziumException("Events are unnested, Identifier fields are not supported for unnested events! " +
"Pleas make sure you are using event flattening SMT! or disable identifier field creation!");
throw new DebeziumException("Debezium events are unnested, Identifier fields are not supported for unnested events! " +
"Pleas enable event flattening SMT see: https://debezium.io/documentation/reference/stable/transformations/event-flattening.html " +
" Or disable identifier field creation `debezium.sink.iceberg.create-identifier-fields=false`");
}
} else {
icebergSchemaFields(valueSchema, keySchema, schemaData);
Expand Down
3 changes: 2 additions & 1 deletion docs/CAVEATS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ instead of rewrite data files)

## No automatic schema evolution

Full schema evaluation is not supported. But sema expansion like field addition is supported,
Full schema evaluation is not supported, like converting incompatible types. But sema expansion like field addition is
supported,
see `debezium.sink.iceberg.allow-field-addition` setting.

## Specific tables replication
Expand Down
Loading

0 comments on commit f0495a6

Please sign in to comment.