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 "Yida Wu (Jira)" <ji...@apache.org> on 2026/07/10 20:31:00 UTC

[jira] [Created] (IMPALA-15172) Incorrect null check for process_build_batch_fn in partitioned-hash-join-builder.cc

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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org