-- UDF注意: hive中的数组类型作为 入参,udf中应写 ArrayList 而不是 String[],否则会报错
-- No matching method for class cn.com.dtmobile.hiveUdf.MyUDF with (array<string>). Possible choices: _FUNC_(struct<>)
-- myReverseLonLat-- 单引号和双引号的区别:单引号是绝对值,双引号中可以引用变量
-- hive -e "sql" sql中原本是两个\\; 转义符要替换为 \\\; 前两个\\用来转义\,第三个\用来转义;
-- hive -e "select code, split(regexp_replace(regexp_replace(regexp_replace(regexp_replace(regexp_replace(regexp_replace(lattice, '\\\}\\\]',''), '\\\[\\\{',''),'\\\}\\\,\\\{','\\\;'),'\\\"',''),'lng\\\:',''),'lat\\\:',''),'\\\;') lonlats from dim_cell_info_hz t where t.clndr_dt_id = '202104'"