Projjal Chanda created ARROW-11617: -------------------------------------- Summary: [C++][Gandiva] Fix nested if-else optimisation in gandiva Key: ARROW-11617 URL: https://issues.apache.org/jira/browse/ARROW-11617 Project: Apache Arrow Issue Type: Bug Reporter: Projjal Chanda Assignee: Projjal Chanda
{color:#1d1c1d}In gandiva, when we have nested if-else statements we reuse the local bitmap and treat it is a single logical if - elseif - .. - --else condition. However, when he have say another function between them like{color} {color:#1d1c1d}IF{color} {color:#1d1c1d}THEN{color} {color:#1d1c1d}ELSE{color} {color:#1d1c1d}function({color} {color:#1d1c1d}IF{color} {color:#1d1c1d}THEN{color} {color:#1d1c1d}ELSE{color} {color:#1d1c1d}){color} {color:#1d1c1d}in such cases also currently we are doing same thing which can lead to incorrect results{color} -- This message was sent by Atlassian Jira (v8.3.4#803005)