Hive 自定義函數(UDF)開發

0.要繼承org.apache.hadoop.hive.ql.exec.UDF類實現evaluate  自定義函數調用過程: 1.添加jar包(在hive命令行裏面執行) hive> add jar /root/NUDF.jar; 2.建立臨時函數 hive> create temporary function getNation as 'cn.itcast.hive.udf.NationUDF'
相關文章
相關標籤/搜索