SPARK-SQL内置函数之时间日期类

转载请注明转自:http://www.cnblogs.com/feiyumo/p/8760846.html 1、获取当前时间 1.current_date获取当前日期 2018-04-09html 2.current_timestamp/now()获取当前时间 2018-04-09 15:20:49.247ide 2、从日期时间中提取字段  1.year,month,day/dayofmonth,
相关文章
相关标签/搜索