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
[CT-1543] [Bug] dbt seed raise error mismatched input 's' when there is 's in csv file #6306
Comments
Thanks for reaching out @grhaonan ! Did you include column headers in the first line of CSV (like If so, then I suspect this is an issue in Athena adapter you are using, as all of the following work for me when testing with dbt-snowflake:
Or:
Or:
|
Closing in favor of dbt-athena/dbt-athena#60 |
@dbeatty10 you may have forgotten to close this issue. :) |
😅 Thank you @owenprough-sift |
Is this a new bug in dbt-core?
Current Behavior
dbt seed will raise the following error when there is a 's expression in csv
botocore.errorfactory.InvalidRequestException: An error occurred (InvalidRequestException) when calling the StartQueryExecution operation: line 2:2611: mismatched input 's'. Expecting: ')', ','
Failed to execute query.
Expected Behavior
it should work
Steps To Reproduce
csv with format
2500, dustin's test
The issue will gone if it is
2500, dustins test, the issue is ' character before the letter s
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
No response
Additional Context
I am not sure if this issue is related to athena adapter or dbt core
if ' character is not supported in the csv form seed would expect, may I suggest to update the documentation to mention this limitation as I spent 1 hour to figure out this.
if ' character is supposed to be supported( my understanding), then this is an issue either related to core or athena adapterfiguring
The text was updated successfully, but these errors were encountered: