David Li created ARROW-13325:
--------------------------------

             Summary: [C++] Simplify Call("case_when", ...) expressions
                 Key: ARROW-13325
                 URL: https://issues.apache.org/jira/browse/ARROW-13325
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: David Li


case_when will be implemented as case_when(struct(bool...), T...) which 
requires materialization of scalar arguments. However, we can simplify such 
cases before calling instead, e.g. all scalar false branches can be eliminated, 
and scalar true branches can be removed and their values promoted to the 'else' 
argument.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to