Max Gekk created SPARK-51420:
--------------------------------

             Summary: Get minutes of time
                 Key: SPARK-51420
                 URL: https://issues.apache.org/jira/browse/SPARK-51420
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 4.1.0
            Reporter: Max Gekk


Modify the minute() function to return the minute component of the *time* expr.

h4. Syntax

{code:sql}
minute(expr)
{code}

h4. Arguments
expr: An TIMESTAMP or TIME  expression or a STRING of a valid timestamp format.
h4. Returns
An INTEGER.
h4. Examples

{code:sql}
> SELECT minute(TIME'12:58:59');
 58
{code}





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to