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'); 17/11/10 16:08:23 INFO SparkSqlParser: Parsing command: select dayofweek('2007-02-03'), dayofweek('2009-07-30'), dayofweek('2017-05-27'), dayofweek(null), dayofweek('1582-10-15 13:10:15') 17/11/10 16:08:23 INFO HiveMetaStore: 0: get_database: default 17/11/10 16:08:23 INFO audit: ugi=sergio.bilello ip=unknown-ip-addr cmd=get_database: default 17/11/10 16:08:23 INFO HiveMetaStore: 0: get_database: default 17/11/10 16:08:23 INFO audit: ugi=sergio.bilello ip=unknown-ip-addr cmd=get_database: default 17/11/10 16:08:23 INFO HiveMetaStore: 0: get_function: default.dayofweek 17/11/10 16:08:23 INFO audit: ugi=sergio.bilello ip=unknown-ip-addr cmd=get_function: default.dayofweek Error in query: Undefined function: 'dayofweek'. This function is neither a registered temporary function nor a permanent function registered in the database 'default'.; line 1 pos 7```
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org