Wednesday 16 November 2022

Hive: hour: Return hour part of the date

Signature

hour(string date)
hive> SELECT hour('2021-02-05 06:37:23');
OK
_c0
6
Time taken: 0.051 seconds, Fetched: 1 row(s)

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment