Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Implementing conditional and control statements in Hive

Copy link to this message
Re: Implementing conditional and control statements in Hive
With streaming, UDF or UDTFs you would get almost any kind of control flow you want without having those features implemented in Hive proper. For udf, udaf or udtf you use java for implementation. In streaming you can use any language of your choice. Not sure if this addresses stuff?


On May 11, 2011, at 1:56 AM, Jothi A wrote:

Hi experts,
I got to know that hive has no stored procedures.but this can be done in Hive with the help of streaming and functions.Is<http://functions.Is> there any way to implement Declare,Conditional handling statements,Control statements in hive.As of now i'm looking into Hive UDF's and some stored procedures in MySQL.Trying to figure out whether it will help me in implementing the same in Hive.

If anyone tried or implemented the above then please share with me.

Thanks & Regards,
Tamilselvi A.