server/drivers/presto/_presto.js
function getHeaders(config) {
  const headers = { 'X-Presto-User': config.user };
  if (config.catalog) {
    headers['X-Presto-Catalog'] = config.catalog;
  }
  if (config.schema) {
    headers['X-Presto-Schema'] = config.schema;
  }
  return headers;
}
function getHeaders(config) {
  const headers = { 'X-Presto-User': config.user };
  if (config.catalog) {
    headers['X-Presto-Catalog'] = config.catalog;
  }
  if (config.schema) {
    headers['X-Presto-Schema'] = config.schema;
  }
  return headers;
}
function getHeaders ( config ) { const headers = { 'X-Presto-User' : config . user } ; if ( config . catalog ) { headers [ 'X-Presto-Catalog' ] = config . catalog ; } if ( config . schema ) { headers [ 'X-Presto-Schema' ] = config . schema ; } return headers ; }
Get Presto headers from config
Get Presto headers from config