Unable to use an existing Hive permanent UDF from Spark SQL

前端 未结 2 1904
野性不改
野性不改 2021-02-03 23:41

I have previously registered a UDF with hive. It is permanent not TEMPORARY. It works in beeline.

CREATE FUNCTION normaliseURL AS \'com.example.hive         


        
2条回答
  •  北荒
    北荒 (楼主)
    2021-02-04 00:27

    It will work on spark on yarn environment however as suggested you need to use spark-shell --jars .jar not in hdfs but in local.

提交回复
热议问题