这个是test.bash的脚本代码,话说shell是真的*
#!/bin/sh
source ../config.sh
# 数据库
HIVE_DB=raw
if [ $# == 1 ]
then
echo "table:$1"
tables=($1)
else
tables=('DEMO2' 'QXF')
fi
for ele in ${tables[*]}
do
table=
这个是test.bash的脚本代码,话说shell是真的*
#!/bin/sh
source ../config.sh
# 数据库
HIVE_DB=raw
if [ $# == 1 ]
then
echo "table:$1"
tables=($1)
else
tables=('DEMO2' 'QXF')
fi
for ele in ${tables[*]}
do
table=