Yida Wu created IMPALA-15172:
--------------------------------
Summary: Incorrect null check for process_build_batch_fn in
partitioned-hash-join-builder.cc
Key: IMPALA-15172
URL: https://issues.apache.org/jira/browse/IMPALA-15172
Project: IMPALA
Issue Type: Bug
Components: Backend
Affects Versions: Impala 4.5.0
Reporter: Yida Wu
One nullcheck in the code
https://github.com/apache/impala/blob/master/be/src/exec/partitioned-hash-join-builder.cc#L1468C1-L1474C4
should be wrong.
{code:java}
process_build_batch_fn_level0 =
codegen->FinalizeFunction(process_build_batch_fn_level0);
if (process_build_batch_fn == nullptr) {
...
}
{code}
As the process_build_batch_fn is already checked for null in the immediately
preceding block, this null check should be for process_build_batch_fn_level0.
We should update the statement to check the correct variable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]