[Hive基礎]-- 替換指定字符串的函數

一、轉換函數函數 select cast(substring('2016-06-05 00:00:00.0',1,10) as int);regexp 結果---》20160605string     二、替換函數ast   select  cast(substring(regexp_replace('2016-06-05 00:00:00.0', '-', ''),1,8) as int);se
相關文章
相關標籤/搜索