Github user tejasapatil commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19672#discussion_r149256287
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
    @@ -2550,6 +2550,13 @@ object functions {
        * @group datetime_funcs
        * @since 1.5.0
        */
    +  def dayofweek(e: Column): Column = withExpr { DayOfWeek(e.expr) }
    --- End diff --
    
    In the doc, change `month` to `week`


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to