1 -- 设置参数 2 set hivevar:target_db_name=db_dw; 3 use ${hivevar:target_db_name}; 4 5 -- 创建textfile表 6 create table file_format_textfile 7 row format delimited fields terminated by '
1 -- 设置参数 2 set hivevar:target_db_name=db_dw; 3 use ${hivevar:target_db_name}; 4 5 -- 创建textfile表 6 create table file_format_textfile 7 row format delimited fields terminated by '