You should use select with options.

Examples are here:
https://drill.apache.org/blog/2015/12/14/drill-1.4-released/

E.g.:

SELECT * FROM TABLE(dfs.`/path/to/CO.dat`(type => 'text', extractHeader =>
true));

--
Jacques Nadeau
CTO and Co-Founder, Dremio

On Fri, Feb 26, 2016 at 12:38 PM, Christopher Matta <[email protected]> wrote:

> Is it possible to set the extractHeader option for CSV/TSV in a session
> variable? Doing it on the format type is just too broad sometimes and I'd
> like to be able to set it based on the files I'm querying.
>
>
> Chris Matta
> [email protected]
> 215-701-3146
>

Reply via email to