debezium / debezium/dbz

automatically fetch the table's structure from the dictionary when data history is empty [DBZ-5451]

Open
#667 0 comments 0 reactions 0 assignees View on GitHub
component/mysql-connector component/oracle-connector component/postgresql-connector component/sqlserver-connector migrated-from-jira type/enhancement
Dominant language
HTML
Stars
6
Forks
9
Avg merge
2d 19h
Merged PRs (30d)
1

Description

Migrated from [DBZ-5451](https://issues.redhat.com/browse/DBZ-5451)

We set the property debezium.source.database.history.store.only.captured.tables.ddl to true and use signaling table for snapshot on new table that was added to the include list after debezium was started.

Signaling table with snapshot doesn't work because the structure of the table (that was added later to the include list) is not registered . 

I would expect that when the structure of the table is not registered Debezium will get it from the data dictionary

Contributor guide

Open the contributing guide

Research direction

Start by tracing handling of debezium.source.database.history.store.only.captured.tables.ddl and signaling-table snapshots when a newly included table has no registered structure. Review how the data dictionary is consulted during snapshot processing; done means the table structure is obtained there and the signaling-table snapshot works for the newly included table.

Written by the indexing model from the issue text.

Assessment

Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.