Dominic Sisneros created ARROW-12962:
----------------------------------------
Summary: Arrow:Scalar needed for GLib and ruby
Key: ARROW-12962
URL: https://issues.apache.org/jira/browse/ARROW-12962
Project: Apache Arrow
Issue Type: Improvement
Components: GLib, Ruby
Affects Versions: 4.0.1
Reporter: Dominic Sisneros
In ruby trying to use compute kernals. For the kernels that take a scalar
there is no way to make on in GLib or ruby
ar= Arrow::Array.new([0,1,1,1,1,2,3,4,2,6,7])
fun = Arrow::Function.find('add')
needed = Arrow::Scalar.new(3)
sum = fun.execute([Arrow::ArrayDatum.new(ar)]).value
--
This message was sent by Atlassian Jira
(v8.3.4#803005)