PageRenderTime 13ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/release-0.0.0-rc0/hive/external/ql/src/test/results/clientpositive/udf_dayofmonth.q.out

#
text | 15 lines | 15 code | 0 blank | 0 comment | 0 complexity | a3f926838b70cac463b75fda01cfe77c MD5 | raw file
 1PREHOOK: query: DESCRIBE FUNCTION dayofmonth
 2PREHOOK: type: DESCFUNCTION
 3POSTHOOK: query: DESCRIBE FUNCTION dayofmonth
 4POSTHOOK: type: DESCFUNCTION
 5dayofmonth(date) - Returns the date of the month of date
 6PREHOOK: query: DESCRIBE FUNCTION EXTENDED dayofmonth
 7PREHOOK: type: DESCFUNCTION
 8POSTHOOK: query: DESCRIBE FUNCTION EXTENDED dayofmonth
 9POSTHOOK: type: DESCFUNCTION
10dayofmonth(date) - Returns the date of the month of date
11Synonyms: day
12date is a string in the format of 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd'.
13Example:
14   > SELECT dayofmonth('2009-30-07', 1) FROM src LIMIT 1;
15  30