-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/7848/
-----------------------------------------------------------

(Updated Nov. 9, 2012, 11:10 p.m.)


Review request for hive.


Changes
-------

I update the diff to address Mark's comments. Thanks, Mark.


Description
-------

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.


This addresses bug HIVE-3666.
    https://issues.apache.org/jira/browse/HIVE-3666


Diffs (updated)
-----

  
http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
 1405251 
  
http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFSleep.java
 PRE-CREATION 

Diff: https://reviews.apache.org/r/7848/diff/


Testing
-------

have tested it with Hive CLI and Hive Server session, and it can keep them 
alive by the given seconds


Thanks,

Johnny Zhang

Reply via email to