Will Jones created ARROW-11342: ---------------------------------- Summary: [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
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)