Commit b493cbc
Remove dead snapshot.mode override in DebeziumIO.getRecordSchema
getRecordSchema copied the connector configuration, set snapshot.mode on
the copy, then passed the original unmodified map to getOneRecord. The
override therefore never took effect, and schema inference has always run
with the connector's configured snapshot mode.
Drop the dead copy rather than start honouring it. getOneRecord derives
the schema by sampling an actual data record, so a schema-only snapshot
would emit nothing and schema inference would fail with "could not fetch
database schema". No behaviour change.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 51b2ad6 commit b493cbc
1 file changed
Lines changed: 3 additions & 4 deletions
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
313 | 312 | | |
314 | 313 | | |
315 | 314 | | |
316 | | - | |
317 | | - | |
318 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
319 | 318 | | |
320 | 319 | | |
321 | 320 | | |
| |||
0 commit comments