cancel
Showing results for 
Search instead for 
Did you mean: 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to load csv data with correct header values in External tables

Frantz
New Contributor III

Hello, is there a way to load "CSV" data into an external table without the _c0, _c1 columns showing?

I've tried using the options within the sql statement that does not appear to work.

Frantz_0-1707258246022.png

Which results in this table

Frantz_1-1707258264972.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

feiyun0112
Honored Contributor
3 REPLIES 3

rt-slowth
Contributor

Hi, @Frantz 

Did the source data, s3://nyc-zip-codes.csv, have a header column?
Otherwise, they seem to be represented as _c0, _c1.

Frantz
New Contributor III

Yes, the source data did have a header column. 

feiyun0112
Honored Contributor

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group