Monday 21 November 2022

Hive: month: Extract month details from date

Signature

month(string date)
hive> SELECT month('2021-02-05 05:37:23');
OK
_c0
2
Time taken: 0.045 seconds, Fetched: 1 row(s)

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment