Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incremental updates of tables #46

Open
sugendran opened this issue Jul 4, 2024 · 0 comments
Open

Incremental updates of tables #46

sugendran opened this issue Jul 4, 2024 · 0 comments

Comments

@sugendran
Copy link

With the delta_scan extension. Is there a way to do an incremental update of the data in motherduck? Or is the only option to CREATE OR REPLACE the table?

My theory is to follow this approach https://www.databricks.com/blog/delivering-cost-effective-data-real-time-dbt-and-databricks

That would then mean the delta table history has a record of which rows changed. So if we have a checkpoint somewhere then we know where in the history data to start reading from, and select the rows for a merge statement. Ideally this is done by the delta driver/extension rather than me having to write custom code to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant