Github user sergiobilello-eb commented on the issue:
https://github.com/apache/spark/pull/18134
thanks @gatorsmile! Do you suggest any workaround until then? I mean not
rebuilding spark with that patch Can I register my UDF that contains that
logic
Github user sergiobilello-eb commented on the issue:
https://github.com/apache/spark/pull/18134
```spark-sql> select dayofweek('2007-02-03'), dayofweek('2009-07-30'),
dayofweek('2017-05-27'), dayofweek(null), dayofweek('1582-10-15 13:10:15')
Github user sergiobilello-eb commented on the issue:
https://github.com/apache/spark/pull/18134
thanks @gatorsmile :)
---
-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e
Github user sergiobilello-eb commented on the issue:
https://github.com/apache/spark/pull/18134
This function is not reported in the API documentation:
https://spark.apache.org/docs/2.2.0/api/java/index.html?org/apache/spark/sql/functions.html
or
https://spark.apache.org/docs/2.1.0