wudianlong 2 rokov pred
rodič
commit
023424153c
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      example/function/sqoop_func.sh

+ 1 - 1
example/function/sqoop_func.sh

@@ -42,7 +42,7 @@ import_no_partition() {
 dim_date(){
   column_name="date_id, week_of_year, day_of_year, day_of_mouth, type, date_type, index_work_day_of_month, week_day, week_day_cn, week_day_en, current_year, current_quarter, year_quarter, mouth, year_mouth, is_first_day_mouth, is_last_day_mouth, type_des"
   query_sql="select date_id, week_of_year, day_of_year, day_of_mouth, type, date_type, index_work_day_of_month, week_day, week_day_cn, week_day_en, current_year, current_quarter, year_quarter, mouth, year_mouth, is_first_day_mouth, is_last_day_mouth, type_des from dim_date where 1 = 1 "
-  import_no_partition $url $username $password /warehouse/saga_dw/dim/tmp/  $column_name $query_sql dim_date_day
+  import_no_partition $url $username $password /warehouse/saga_dw/dim/tmp/ "$column_name" "$query_sql" dim_date_day
 }
 
 dim_date