You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Shiva Kumar <sh...@gmail.com> on 2019/08/22 11:00:04 UTC
How to support hive built in functions in saprk
HI
i want to use the hive built-in functions in saprk.
i tried current_username() function in spark local mode. i am getting the
below error.
Error: org.apache.spark.sql.AnalysisException: Undefined function:
'current_user'. This function is neither a registered temporary function
nor a permanent function registered in the database 'default'.; line 1 pos
7 (state=,code=0)
So how can i use/access the hive built in fucntion in spark?