Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DBZ-7351 Avoid child data snapshots from PostgreSQL parent tables
When PostgreSQL tables are configured with inheritance (INHERIT clause), data is streamed by Debezium from the table where the data resides (usually the child tables). However, during the initial/incremental snapshot, Debezium selects all data from the parent tables, including child data, which pushes unexpected/duplicate data into the topics (all data from child tables). Using a "SELECT ... FROM ONLY" retrieves only data from the current table and avoids retrieving data from child tables. Signed-off-by: Nicolas Payart <npayart@gmail.com>
- Loading branch information