# Extract Field names not working for CSV files

**URL:** <https://community.dremio.com/t/extract-field-names-not-working-for-csv-files/2716>\
**Category:** Uncategorized\
**Created:** [February 6, 2019, 6:27pm UTC](https://community.dremio.com/t/extract-field-names-not-working-for-csv-files/2716 "2019-02-06T18:27:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![allan.sene](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/allan.sene/32/144_2.png) [@allan.sene](https://community.dremio.com/u/allan.sene)\
**Post date:** [February 6, 2019, 6:27pm UTC](https://community.dremio.com/t/extract-field-names-not-working-for-csv-files/2716/1 "2019-02-06T18:27:23Z")

</div>

Guys,

I’m trying to extract the header from some CSV files inside a folder in a bucket on S3. But I’m getting this error: `Only one data line detected. Please consider changing line delimter.` All CSVs

I’m using Dremio 3.1.0 here.

The full stack trace and one CSV sample file is attached bellow.

[csv\_and\_stack.zip](https://us1.discourse-cdn.com/flex020/uploads/dremio/original/2X/e/eb45baccf3cf7794f5458de8c005295f8a4d0730.zip) (2.4 KB)

---

<div class="post-metadata">

**Author:** ![Mark\_Wiggins](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@Mark\_Wiggins](https://community.dremio.com/u/Mark_Wiggins)\
**Post date:** [February 6, 2019, 7:04pm UTC](https://community.dremio.com/t/extract-field-names-not-working-for-csv-files/2716/2 "2019-02-06T19:04:30Z")

</div>

Try setting line delimiter to Unix\Linux  
 ![2019-02-06_13-03-02](https://us1.discourse-cdn.com/flex020/uploads/dremio/original/2X/1/1e8102e5db7d3108ff2e3f11ce82aca7350482f6.png)
