Skip to content

Commit

Permalink
List all values of field
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxGekk committed Aug 15, 2019
1 parent 7c549c7 commit 1b2c8d4
Showing 1 changed file with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1969,9 +1969,22 @@ case class Epoch(child: Expression, timeZoneId: Option[String] = None)
arguments = """
Arguments:
* field - selects which part of the source should be extracted. Supported string values are:
["MILLENNIUM", "CENTURY", "DECADE", "YEAR", "QUARTER", "MONTH",
"WEEK", "DAY", "DAYOFWEEK", "DOW", "ISODOW", "DOY",
"HOUR", "MINUTE", "SECOND"]
["MILLENNIUM", "MILLENNIA", "MIL", "MILS",
"CENTURY", "CENTURIES", "C", "CENT",
"DECADE", "DECADES", "DEC", "DECS",
"YEAR", "Y", "YEARS", "YR", "YRS",
"ISOYEAR",
"QUARTER", "QTR",
"MONTH", "MON", "MONS", "MONTHS",
"WEEK", "W", "WEEKS",
"DAY", "D", "DAYS",
"DAYOFWEEK", "DOW", "ISODOW", "DOY",
"HOUR", "H", "HOURS", "HR", "HRS",
"MINUTE", "M", "MIN", "MINS", "MINUTES",
"SECOND", "S", "SEC", "SECONDS", "SECS",
"MILLISECONDS", "MSEC", "MSECS", "MILLISECON", "MSECONDS", "MS",
"MICROSECONDS", "USEC", "USECS", "USECONDS", "MICROSECON", "US",
"EPOCH"]
* source - a date (or timestamp) column from where `field` should be extracted
""",
examples = """
Expand Down

0 comments on commit 1b2c8d4

Please sign in to comment.