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: [email protected]
For additional commands, e-mail: [email protected]