diff --git a/ibis/impala/client.py b/ibis/impala/client.py index 7f102acfa113..fcd46eb6e9a8 100644 --- a/ibis/impala/client.py +++ b/ibis/impala/client.py @@ -266,7 +266,7 @@ def _sleep_interval(start_time): while True: state = cur.status() if self._cursor._op_state_is_error(state): - raise OperationalError("Operation is in ERROR_STATE") + raise OperationalError(self._cursor.get_log()) if not cur._op_state_is_executing(state): break time.sleep(_sleep_interval(loop_start))