Cloudera Hue has the option to export results of a Hive query directly as an Excel xlsx file. That is however a manual option, the user has to manually click on the button to export the file.
Is there an underlying function that can be called e.g. by the HiveSQL query itself to automate the export into the Excel format?