Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vdk-impala: enhance memory error handling #2938

Merged
merged 1 commit into from
Nov 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ def handle_memory_error(self, exception, recovery_cursor):
exception,
classname_with_package="impala.error.OperationalError",
exception_message_matcher_regex=".*Memory limit exceeded:.*",
) or errors.exception_matches(
exception,
classname_with_package="impala.error.HiveServer2Error",
exception_message_matcher_regex=".*Memory limit exceeded:.*",
):
# We are going to try to increase the memory limits and see if the query passes
# But we won't do anything if the sql statement itself sets a memory limit
Expand Down