Member since
03-09-2017
2
Posts
0
Kudos Received
0
Solutions
03-15-2017
07:24 PM
Hi, I have a table in Hadoop stores data monthwise , eg. 2014-01-01 2014-02-01 etc , I need to extract quarter from this. For instance, i acheive this with trunc(month_date_column,'q') in SQL (oracle) Looking for equivalent function or method in hive. Please help ! tried date_trunc, but that is not working . Looks i have to convert the date column to timestamp first and then try this function. Date is stored as string in my table Any help is appreciated ! Thanks gi
... View more
Labels:
- Labels:
-
Apache Hive