implement a udf to keep hive session alive for certain amount of time
Review Request #7848 - Created Nov. 3, 2012 and updated
To make testing issues like HIVE-3590 convenient, we can implement a UDF to keep hive session alive for a given time. The patch introduce a new UDF sleep() which does this without introducing any data/load to cluster.
have tested it with Hive CLI and Hive Server session, and it can keep them alive by the given seconds