[Bug] DBT Seed in dbt-athena-community is not working for .csv with encoding utf-8 #734
Open
2 tasks done
Labels
bug
Something isn't working
Is this a new bug in dbt-core?
Current Behavior
I would like to start by apologizing if there is already a bug report on this subject, but I couldn't find it.
Lets go, I have a .csv file (sds_teste.csv) that I am using as a seed, like this:
So, I execute the command
dbt seed -s sds_teste
and the dbt is successful executedBut, when i execute a
select
to see the table created by dbt seed command, I can see that the table cannot read the special characters (accented letters)I already try some things that I found around de internet, like to pass the
encoding: utf-8
, but i not found nothing that working.My profiles.yml
Expected Behavior
The expected behavir is that the dbt seed would can read a .csv file in encoding utf-8.
Should be:
A text with special characters, like Ã, Á, Í, or Ç
Instead of:
A text with special characters, like �, �, �, or �
Steps To Reproduce
1 - Install the python 3.11.9 in a windows computer
2 - Create a python environment with
python venv
3 - Install
dbt-core==1.8.7
anddbt-athena-community==1.8.4
bypip install
4 - Create a dbt project
5 - Create a .csv file in the folder
seeds/
and write some example with special characters6 - Configure the profile.yml to connect a
AWS Athena
(storage:AWS S3
)7 - Run the
dbt seed
commandRelevant log output
Environment
Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
No response
The text was updated successfully, but these errors were encountered: