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

[jira] [Updated] (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 ]

ASF GitHub Bot updated ARROW-11342:
-----------------------------------
    Labels: pull-request-available  (was: )

> [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
>          Time Spent: 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)