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 2026/09/18 16:50:00 UTC

[jira] [Work started] (IMPALA-15376) Undefined AnalyticEvalNode::GetNext on empty window_tuples_

     [ https://issues.apache.org/jira/browse/IMPALA-15376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on IMPALA-15376 started by Michael Smith.
----------------------------------------------
> Undefined AnalyticEvalNode::GetNext on empty window_tuples_
> -----------------------------------------------------------
>
>                 Key: IMPALA-15376
>                 URL: https://issues.apache.org/jira/browse/IMPALA-15376
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>            Reporter: Michael Smith
>            Assignee: Michael Smith
>            Priority: Major
>
> AnalyticEvalNode::GetNext() unconditionally called window_tuples_.front() when deciding whether to transfer the prev tuple pool to the output batch. window_tuples_ can legitimately be empty at that point (e.g. right after all window tuples have been popped, or when prev_pool_last_window_idx_ was recorded as the -1 sentinel), so calling front() on the empty deque is undefined behavior.
> Newer Clang versions identify this as undefined in UBSAN builds.



--
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