spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-8178) quarter function
Date Tue, 09 Jun 2015 05:33:00 GMT
Reynold Xin created SPARK-8178:
----------------------------------

             Summary: quarter function
                 Key: SPARK-8178
                 URL: https://issues.apache.org/jira/browse/SPARK-8178
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
            Reporter: Reynold Xin


quarter(date/timestamp/string): int

Returns the quarter of the year for a date, timestamp, or string in the range 1 to 4. Example:
quarter('2015-04-08') = 2.

See https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message