Will Jones created ARROW-12129:
----------------------------------

             Summary: [Python][Gandiva] Infer return types for make_if and 
make_in_expression
                 Key: ARROW-12129
                 URL: https://issues.apache.org/jira/browse/ARROW-12129
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python
            Reporter: Will Jones


On the {{TreeExprBuilder}} in {{pyarrow.gandiva}}, both the {{make_if}} and 
{{make_in_expression}} require the user to specify the return type. These could 
easily be inferred from the input values. ARROW-11342 exposes the return type 
of nodes as a method, so this should be easy to do once that is merged.

To keep the changes backwards compatible, we can make the return_type an 
optional argument.



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

Reply via email to