You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/06/23 17:25:00 UTC

[jira] [Resolved] (ARROW-11342) [Python] [Gandiva] Expose ToString and result type information

     [ https://issues.apache.org/jira/browse/ARROW-11342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Pitrou resolved ARROW-11342.
------------------------------------
    Fix Version/s: 5.0.0
       Resolution: Fixed

Issue resolved by pull request 9288
[https://github.com/apache/arrow/pull/9288]

> [Python] [Gandiva] Expose ToString and result type information
> --------------------------------------------------------------
>
>                 Key: ARROW-11342
>                 URL: https://issues.apache.org/jira/browse/ARROW-11342
>             Project: Apache Arrow
>          Issue Type: Improvement
>            Reporter: Will Jones
>            Assignee: Will Jones
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 5.0.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> To make it easier to build and introspect the expression trees, I would like to expose the ToString() methods on Node, Expression, and Condition, as well as the methods exposing the fields and types inside.
> {code:python}
> import pyarrow as pa
> import pyarrow.gandiva as gandiva
> builder = gandiva.TreeExprBuilder()
> print(builder.make_literal(1000.0, pa.float64()))
> <pyarrow.gandiva.Node object at 0x7f36fd37ecf0>
> {code}



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