摘要: 1. 字符串长度函数:length 语法: length(string A) 返回值: int 说明:返回字符串A的长度 举例: hive> select length('abcedfg') from lxw_dual; 7 2. 字符串反转函数:reverse 语法: reverse(string 阅读全文
posted @ 2016-06-23 18:05 代码工人有力量 阅读(51763) 评论(0) 推荐(0) 编辑
摘要: 时间字段格式化 日期函数UNIX时间戳转日期函数: from_unixtime语法: from_unixtime(bigint unixtime[, string format]) 返回值: string 说明: 转化UNIX时间戳(从1970-01-01 00:00:00 UTC到指定时间的秒数) 阅读全文
posted @ 2016-06-23 18:04 代码工人有力量 阅读(433) 评论(0) 推荐(0) 编辑