|
@@ -14,7 +14,7 @@ endHhStr=23
|
|
|
source /root/anaconda3/bin/activate py37
|
|
|
echo "----------step1------------开始校验是否生产完数据,分区信息:beginStr:${beginStr}${beginHhStr},endStr:${endStr}${endHhStr}"
|
|
|
while true; do
|
|
|
- python_return_code=$(python checkHiveDataUtil.py --table ${table} --beginStr ${beginStr}${beginHhStr} --endStr ${endStr}${endHhStr})
|
|
|
+ python_return_code=$(python /root/joe/recommend-emr-dataprocess/qiaojialiang/checkHiveDataUtil.py --table ${table} --beginStr ${beginStr}${beginHhStr} --endStr ${endStr}${endHhStr})
|
|
|
echo "python 返回值:${python_return_code}"
|
|
|
if [ $python_return_code -eq 0 ]; then
|
|
|
echo "Python程序返回0,校验存在数据,退出循环。"
|