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

Reply via email to