aboutsummaryrefslogblamecommitdiff
path: root/sql/hive/src/test/resources/golden/udf_minute-1-16995573ac4f4a1b047ad6ee88699e48
blob: 08ddc19b84d82d9da816b836215e7eaf7b27b8f0 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                                             


                                                           
    
minute(param) - Returns the minute component of the string/timestamp/interval
param can be one of:
1. A string in the format of 'yyyy-MM-dd HH:mm:ss' or 'HH:mm:ss'.
2. A timestamp value
3. A day-time interval valueExample:
   > SELECT minute('2009-07-30 12:58:59') FROM src LIMIT 1;
  58
  > SELECT minute('12:58:59') FROM src LIMIT 1;
  58