Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/18134
  
    @sergiobilello-eb This is just a SQL function. You can call it in SQL 
interface or using the `df.select(expr("dayofweek('2009-07-30')"))`. It is not 
part of the DataFrame functions. You can submit a PR or report it as an issue 
to add such an API.  


---

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

Reply via email to