This article describes the appropriate parameters which can be used when you want to also include the COLUMN HEADERS while downloading the results of a PRESTO query.
Generally, if you are using the Qubole UI, there is already an option to "Include Header" on the top right corner on the History panel corresponding to the Command ID.
For a Presto Query, these parameters are required when you try to download the results using the following API call
NOTE: The parameters described below will work only with PRESTO queries. There are different parameters to be used depending upon the Presto Version the cluster is using. These parameters are to be used at query level on Analyze UI while composing a Presto query.
Presto Version - 0.142
set session cli.headers=true;
Presto Version - 0.157
set session cli_headers=true;