-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add more debug information to dbt seed #448
Comments
@pedromachados this is a little tough, as Redshift doesn't tell us which record in the CSV causes this error. I think that in this particular case, you can run Overall though, agreed: dbt's seed functionality needs some more polish |
There was an issue with escaping single quotes or some sort of text
encoding issue. I ended up removing the text columns so I could get the
import done.
Not sure if the csv import can be made more robust.
Another thing that would be good is the ability to seed specific fIles and
to define a different target schema if desired. This could be controlled
via configuration in the dbt project file.
…On May 27, 2017 5:29 PM, "Drew Banin" ***@***.***> wrote:
@pedromachados <https://github.com/pedromachados> this is a little tough,
as Redshift doesn't tell us which record in the CSV causes this error. I
*think* that in this particular case, you can run dbt seed --drop-existing
to destroy and recreate the table. That should help mitigate this
particular problem.
Overall though, agreed: dbt's seed functionality needs some more polish
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#448 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGjyPmW7re9nLxFJEPOdNBccwXhDyUqeks5r-KPhgaJpZM4NoHzp>
.
|
Hey @pedromachados -- this is a totally reasonable request, especially since with our most recent release users can now specify schemas for all models. I made an issue for this here: Closing this. |
I am getting an error while and it would be nice to know which line/column is causing it. All I get now is this:
The text was updated successfully, but these errors were encountered: