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

Overwrite all rows from the existing seed tables and replace values #912

Closed
wants to merge 2 commits into from
Closed

Conversation

machov
Copy link

@machov machov commented Oct 13, 2023

resolves #112

Problem

The current seed command in dbt-spark appends to existing seeded tables instead overwriting when the database is 'unmanaged' (no location specified from create schema)

Solution

Overwrite all rows from the existing seed tables and replace values.

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

@machov machov requested a review from a team as a code owner October 13, 2023 18:39
@machov machov requested a review from VersusFacit October 13, 2023 18:39
@cla-bot cla-bot bot added the cla:yes label Oct 13, 2023
@machov machov changed the title Clean Overwrite all rows from the existing seed tables and replace values Oct 14, 2023
@machov machov closed this Oct 14, 2023
@machov machov deleted the clean branch October 14, 2023 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CT-2084] Rerun dbt seed append data instead of refresh data if seed is stored in external table
1 participant