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
|This might be confusing to some users. The method may call Thread.sleep but the UDF's argument is in seconds. So ...||Mark Grover||Nov. 10, 2012, 4:18 a.m.||Open|