That functionality does not yet exist. There is a JIRA open for that functionality to be added. But has not yet been prioritized high enough to get completed.
Is this something you are interested in contributing toward? In the mean time, your options are: * Alias (select columns[0] as field name...) * Create Table As and convert it to a format like parquet * View (just like the create table statement) You can find proper syntax in the drill documentation for each of those queries. Jim On Sun, Jul 26, 2015 at 11:19 AM, Hafiz Mujadid <[email protected]> wrote: > Hi! > > I want to know how can i get columns name from csv file using header in csv > file instead of columns array in json response of json using rest api of > drill, > > Thanks >
