#!/bin/bash
########################################################################################################################
# Creater :
# Creation Time :
# Description :
# Modify By :
# Modify Time :
# Modify Content :
# Script Version :1.0.3
########################################################################################################################
#===============================================================================
# 機構名稱
organ_params=$1
# 調度週期
data_day_str=$2
hive -e "
set mapred.job.priority=NORMAL;
set mapred.output.compress=true;
set hive.exec.compress.output=true;
SET hive.default.fileformat=Orc;
set hive.exec.dynamic.partition=true;
set hive.exec.dynamic.partition.mode=nonstrict;
--set hive.auto.convert.join = true;
--set mapreduce.reduce.memory.mb=12288;
--set mapreduce.reduce.java.opts=-Xmx11788M;
drop table if exists tmp.TMP_S_CUST_PRO_ACC_0000"""$organ_params""";
CREATE TABLE
有一段sql
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.