these are the 2 columns(month,year). I want to create a single column out of them having an accurate date-time format('YYYY-MM-DD HH:MM:SS') and add as new column in the table.
 Month     year
 12/ 3   2013 at 8:40pm
 12/ 3   2013 at 8:39pm
 12/ 3   2013 at 8:39pm
 12/ 3   2013 at 8:38pm
 12/ 3   2013 at 8:37pm
What could be the best possible hive query for the same? I'm not able to form an accurate regex for the.
                        
I'm going to assume that the 12 is
monthand that 3 isdaysince you didn't specify. Also, you said you wantHH:MM:SSbut there is no seconds in your example so I don't know how you're going to get them in there. I also changed8:37pmto8:37amin your example to try both cases.Query:
Output: