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

[Ruby] Add ability to read results of min_max compute function

    XMLWordPrintableJSON

Details

    Description

      Cannot read value from Arrow::StructScalar object

      f = Arrow::Function.find('min_max')
      f.execute([table['revenue'].data]).value
      #<Arrow::StructScalar:x11fcc8df8 ptr=x7ffd0ea762b0 {min:double = 0, max:double = 257.515735}> 
      f.execute([table['revenue'].data]).value.value 
      # []

      Attachments

        Issue Links

          Activity

            People

              kou Kouhei Sutou
              simpl1g Kanstantsin Ilchanka
              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 - 1h 40m
                  1h 40m