Repository: incubator-impala Updated Branches: refs/heads/master 57d7c614b -> 03734fe87
[DOCS] add EPOCH to list of units supported. Per fe/src/test/java/org/apache/impala/analysis/AnalyzeExprsTest.java#L1593 Change-Id: I1e62f295efaa9084a6da682fd04bfb067ec5e4e8 Reviewed-on: http://gerrit.cloudera.org:8080/7342 Reviewed-by: John Russell <[email protected]> Tested-by: Impala Public Jenkins Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/03734fe8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/03734fe8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/03734fe8 Branch: refs/heads/master Commit: 03734fe870edcc0c79e465d76c9b2f62291db6be Parents: 57d7c61 Author: Greg Rahn <[email protected]> Authored: Thu Jun 29 22:15:09 2017 -0700 Committer: Impala Public Jenkins <[email protected]> Committed: Thu Jul 6 21:23:34 2017 +0000 ---------------------------------------------------------------------- docs/topics/impala_datetime_functions.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/03734fe8/docs/topics/impala_datetime_functions.xml ---------------------------------------------------------------------- diff --git a/docs/topics/impala_datetime_functions.xml b/docs/topics/impala_datetime_functions.xml index da5d72a..e4afb4a 100644 --- a/docs/topics/impala_datetime_functions.xml +++ b/docs/topics/impala_datetime_functions.xml @@ -722,9 +722,10 @@ select now() as right_now, days_sub(now(), 31) as 31_days_ago; <indexterm audience="hidden">extract() function</indexterm> <b>Purpose:</b> Returns one of the numeric date or time fields from a <codeph>TIMESTAMP</codeph> value. <p> - <b>Unit argument:</b> The <codeph>unit</codeph> string can be one of <codeph>year</codeph>, - <codeph>month</codeph>, <codeph>day</codeph>, <codeph>hour</codeph>, <codeph>minute</codeph>, - <codeph>second</codeph>, or <codeph>millisecond</codeph>. This argument value is case-insensitive. + <b>Unit argument:</b> The <codeph>unit</codeph> string can be one of <codeph>epoch</codeph>, + <codeph>year</codeph>, <codeph>month</codeph>, <codeph>day</codeph>, <codeph>hour</codeph>, + <codeph>minute</codeph>, <codeph>second</codeph>, or <codeph>millisecond</codeph>. + This argument value is case-insensitive. </p> <p rev="2.0.0"> In Impala 2.0 and higher, you can use special syntax rather than a regular function call, for
