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

[C++] Expression::ToString wrong for nullary function call

    XMLWordPrintableJSON

Details

    Description

      Easy reproducer from R:

      library(arrow)
      Expression$create("random")
      # Expression
      # rando)
      

      If you give it an argument (invalid in the case of random(), but Expression doesn't know that), it's fine:

      Expression$create("random", Expression$scalar(1))
      # Expression
      # random(1)
      

      Attachments

        Issue Links

          Activity

            People

              sanjibansg Sanjiban Sengupta
              npr Neal Richardson
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1.5h
                  1.5h