You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Daniel (Jira)" <ji...@apache.org> on 2024/09/03 20:47:00 UTC

[jira] [Commented] (SPARK-49503) Create SQL functions to compute the name of a day or month as a string

    [ https://issues.apache.org/jira/browse/SPARK-49503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17879021#comment-17879021 ] 

Daniel commented on SPARK-49503:
--------------------------------

It turns out these SQL functions already exist; closing this.

> Create SQL functions to compute the name of a day or month as a string
> ----------------------------------------------------------------------
>
>                 Key: SPARK-49503
>                 URL: https://issues.apache.org/jira/browse/SPARK-49503
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark, SQL
>    Affects Versions: 4.0.0
>            Reporter: Daniel
>            Priority: Major
>
> {{For example, we could SELECT DAYNAME(CURRENT_TIMESTMAP()) which would return 'Tuesday' or 'Tue' if the current day is a Tuesday.}}



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

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