Thursday 10 November 2022

Hive: day: Extract day information from date

Signature

day(string date)

hive> SELECT day('2021-02-05 05:37:23');
OK
_c0
5
Time taken: 0.047 seconds, Fetched: 1 row(s)

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment