test.hql语句
for i in '1' '2' '3'
do
hive -e "echo i"
done
执行 hive -f "d:/test.hql"
报错
FAILED: ParseException line 2:0 cannot recognize input near 'for' 'i' 'in'
test.hql语句
for i in '1' '2' '3'
do
hive -e "echo i"
done
执行 hive -f "d:/test.hql"
报错
FAILED: ParseException line 2:0 cannot recognize input near 'for' 'i' 'in'