2020年12月9日

摘要: 1.UDF(user-defined function) 一进一出(一行数据) 1.1 定义函数 (1)继承 org.apache.hadoop.hive.ql.exec.UDF (2)需要实现evaluate函数,evaluate()支持重载 (3)UDF必须有返回值类型,可以返回null,但不能 阅读全文
posted @ 2020-12-09 17:13 happygril3 阅读(65) 评论(0) 推荐(0)
摘要: 1.concat:将同一行数据拼接 drop table student; create table if not exists student ( name string, orderdate string, cost int, sex string, dep string, class stri 阅读全文
posted @ 2020-12-09 16:35 happygril3 阅读(172) 评论(0) 推荐(0)

导航