I am using CDH 5. Though, most of my queries can be executed via Impala, I have some use cases where I need to use Hive UDAF/UDTFs which are currently not supported by Impala as of now.
In this case, I don't want the user to open Beeswax in a separate window.
Is there a way I can redirect some of my queries written in the Impala editor to HiveServer2 and get results back.
(My logic for analysing queries meant for Hive, is looking out for UDAF/UDTFs names in the queries.)