I Have a requirement to check if ant table is missing from the hql file while the beeline query is getting executed from shell script!
Example :
beeline -u 'jdbc:hive2://server.domain.<>.com:10000/default;principal=hive/server.domain.com@SERVER.DOMAIN.COM' -f filename.hql
In filename.hql
we have 10 tables and 9 of them got executed while there is a failure of one table.
In this case what can be the possible solution . I am not able to figure it out via a shell script?
Can somenone please help?