Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-11342

[Python] [Gandiva] Expose ToString and result type information

    XMLWordPrintableJSON

Details

    Description

      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.

      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>
      

      Attachments

        Issue Links

          Activity

            People

              wjones127 Will Jones
              wjones127 Will Jones
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m