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

dbt seed truncate tables #915

Closed
wants to merge 8 commits into from
Closed

dbt seed truncate tables #915

wants to merge 8 commits into from

Conversation

machov
Copy link

@machov machov commented Oct 14, 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

changie commit

Mv1742 load csv table seed (#1)

* changie commit

* Update Fixes-20231013-120628.yaml
@machov machov requested a review from a team as a code owner October 14, 2023 00:48
@machov machov requested a review from mikealfare October 14, 2023 00:48
@cla-bot cla-bot bot added the cla:yes label Oct 14, 2023
@cla-bot
Copy link

cla-bot bot commented Oct 14, 2023

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Manrique Vargas.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@cla-bot cla-bot bot removed the cla:yes label Oct 14, 2023
@cla-bot
Copy link

cla-bot bot commented Oct 14, 2023

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Manrique Vargas.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@cla-bot
Copy link

cla-bot bot commented Oct 14, 2023

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Manrique Vargas.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@cla-bot
Copy link

cla-bot bot commented Oct 14, 2023

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Manrique Vargas.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@machov machov closed this Oct 14, 2023
@machov machov deleted the mv1742-seed-truncate-table 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
None yet
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
2 participants