【文件属性】:
文件名称:vizzuality-hive:Hive (Hadoop) 中 Vizzuality UDF 的存储库
文件大小:10KB
文件格式:ZIP
更新时间:2021-06-12 19:20:01
Java
第 1 步:将输入数据加载为 Hive 表(未记录)
第 2 步:清理数据
-- Clean the input data noting that
-- 1) the day and month is of format "01"
-- 2) there is no year
CREATE TABLE tim.nightlights_in_clean STORED AS RCFILE
AS SELECT
CAST(regexp_replace(day, '"', '') AS INT) AS day,
CAST(regexp_replace(month, '"', '') AS INT) AS month,
2012 AS year,
upshapelatitude AS latitude,
upshapelongitude AS longitude,
【文件预览】:
vizzuality-hive-master
----pom.xml(2KB)
----LICENSE(11KB)
----src()
--------main()
----.gitignore(114B)
----README.md(1KB)