You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Will Jones (Jira)" <ji...@apache.org> on 2021/03/29 01:49:00 UTC

[jira] [Created] (ARROW-12129) [Python][Gandiva] Infer return types for make_if and make_in_expression

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)