def run_hive_cmd(hivecmd, check_return_code=True):
 return run_hive(['-e', hivecmd], check_return_code)

def run_hive_cmd ( hivecmd , check_return_code = True ) : return run_hive ( [ '-e' , hivecmd ] , check_return_code )
runs the given hive query and returns stdout .