1. 程式人生 > >function is neither a registered temporary function nor a permanent function registered in the datab

function is neither a registered temporary function nor a permanent function registered in the datab

Exception in thread “main” org.apache.spark.sql.AnalysisException: Undefined function: ‘group_concat_distinct’. This function is neither a registered temporary function nor a permanent function registered in the database ‘default’.; line 1 pos 44

這個是沒有註冊函式的原因
在這裡插入圖片描述