I am running 4 hive queries in sequence, through an oozie workflow.

The 2nd, 3rd and 4th queries depend upon the output of the previous queries..

Looking for ways to add some validations in the workflow something like :

if the count (*) output of previous query is (say) not zero then proceed to run the current query.
or else exit the workflow...

I read about the conditional functions[1], but not sure how to apply to my case above.

Any ideas?

cheers /Manish


[1]
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-ConditionalFunctions



Reply via email to