You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UTF-8 CSV files generated by Excel have a byte order mark (BOM) which is included in the column title when using dbt seed.
Issue description
Save Excel file as UTF-8 CSV on Microsoft Excel for Mac. Run dbt seed on the resulting file.
Results
The first column name includes the unprintable BOM character which makes queries very difficult to write. I would expect the BOM to be stripped from the column name.
I was able to work around this by changing the file encoding in Emacs and re-saving the file.
System information
The output of dbt --version:
installed version: 0.12.1
latest version: 0.12.1
Up to date!
The operating system you're running on: MacOS Mojave 10.14.1
The python version you're using (probably the output of python --version): 3.7.1
Steps to reproduce
Using Excel, save file as UTF-8 CSV.
Run dbt seed
select <column> from <table>, column cannot be found because of the BOM.
The text was updated successfully, but these errors were encountered:
Issue
UTF-8 CSV files generated by Excel have a byte order mark (BOM) which is included in the column title when using
dbt seed
.Issue description
Save Excel file as UTF-8 CSV on Microsoft Excel for Mac. Run
dbt seed
on the resulting file.Results
The first column name includes the unprintable BOM character which makes queries very difficult to write. I would expect the BOM to be stripped from the column name.
I was able to work around this by changing the file encoding in Emacs and re-saving the file.
System information
The output of
dbt --version
:The operating system you're running on: MacOS Mojave 10.14.1
The python version you're using (probably the output of
python --version
): 3.7.1Steps to reproduce
dbt seed
select <column> from <table>
, column cannot be found because of the BOM.The text was updated successfully, but these errors were encountered: