cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
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