HadoopExam Learning Resources

CCD-410 Certifcation CCA-500 Hadoop Administrator Exam HBase Certifcation CCB-400 Data Science Certifcation Hadoop Training with Hands On Lab Hadoop Package Deal

Add minutes to datetime in Hive

Is there a function in Hive one could use to add minutes(in int) to a datetime similar to DATEADD (datepart,number,date)in sql server where datepart can be minutesDATEADD(minute,2,'2014-07-06 01:28:02') returns 2014-07-06 01:28:02
On the other hand, Hive's date_add(string startdate, int days) is in days. Any of such for hours?


Add comment

Security code

You are here: Home Question & Answer Hadoop Questions Add minutes to datetime in Hive