Explorar o código

添加时间维度,空间维度导入

wudianlong %!s(int64=2) %!d(string=hai) anos
pai
achega
8a3bd65e72
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      example/function/sqoop_func.sh

+ 1 - 1
example/function/sqoop_func.sh

@@ -44,7 +44,7 @@ dim_date(){
 }
 
 dim_office_meter(){
-  import_no_partition $url $username $password /warehouse/saga_dw/dim/tmp/ "id, meter, branch_code, branch_name, use_range" "select id, meter, branch_code, branch_name, use_range from office_meter" dim_office_meter
+  import_no_partition $url $username $password /warehouse/saga_dw/dim/tmp/ "id, meter, branch_code, branch_name, use_range" "select id, meter, branch_code, branch_name, use_range from office_meter where 1 = 1 " dim_office_meter
 }
 
 dim_date