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 fails when too long content #136

Open
plektra opened this issue Oct 19, 2022 · 0 comments
Open

dbt seed fails when too long content #136

plektra opened this issue Oct 19, 2022 · 0 comments

Comments

@plektra
Copy link

plektra commented Oct 19, 2022

When trying to add a seed file that's too long for Athena, the operation fails because it exceeds the query string length hard limit of 262144 bytes. The error message is somewhat like this:

An error occurred (InvalidRequestException) when calling the StartQueryExecution operation: 1 validation error detected: Value 'insert into database.table (col1, col2, ...) values (........) at 'queryString' failed to satisfy constraint: Member must have length less than or equal to 262144

Perhaps it's not a good use of seeds when the table size exceeds single query lenght limits, but at least FYI for those wondering about the same issue. I worked around this issue by introducing my static table as a new Glue table from S3 data.

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