dlt icon indicating copy to clipboard operation
dlt copied to clipboard

Code example: How to specify your own parent-child relationship in the import schema?

Open dat-a-man opened this issue 1 year ago • 1 comments

Add an example to show how one could modify the import schema to specify which columns should be used to link child and parent tables (instead of the default _dlt_parent_id and _dlt_id

dat-a-man avatar Jul 13 '24 11:07 dat-a-man

After consulting with the team, it's confirmed that it's not possible to modify the import schema and directly push down columns from the parent table to the child table. To achieve this, you need to modify the resource itself. I am adding example in the code examples section to demonstrate how to do this.

dat-a-man avatar Aug 04 '24 06:08 dat-a-man