You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Michael Smith (Jira)" <ji...@apache.org> on 2023/01/24 17:21:00 UTC
[jira] [Created] (IMPALA-11860) Query failure due to large buffer allocation provides insufficient context
Michael Smith created IMPALA-11860:
--------------------------------------
Summary: Query failure due to large buffer allocation provides insufficient context
Key: IMPALA-11860
URL: https://issues.apache.org/jira/browse/IMPALA-11860
Project: IMPALA
Issue Type: Bug
Components: Backend
Affects Versions: Impala 4.2.0
Reporter: Michael Smith
When a query fails because SerializeToBuffer returns a "not OK" status in https://github.com/apache/impala/blob/4.2.0/be/src/runtime/query-state.cc#L646-L655, profile_len is always 0.
Usually if SerializeToBuffer returns "not OK" it's because it failed to allocate more buffer space, and often has already allocated some buffer. It would help to know how much buffer is allocated, so SerializeToBuffer should update profile_len before returning an error.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org