MCPcopy Create free account
hub / github.com/apache/arrow / execute_plan

Method execute_plan

c_glib/test/test-source-node.rb:21–34  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

19 include Helper::Buildable
20
21 def execute_plan(options)
22 plan = Arrow::ExecutePlan.new
23 source_node = plan.build_source_node(options)
24 sink_node_options = Arrow::SinkNodeOptions.new
25 sink_node = plan.build_sink_node(source_node,
26 sink_node_options)
27 plan.validate
28 plan.start
29 plan.wait
30 reader = sink_node_options.get_reader(source_node.output_schema)
31 table = reader.read_all
32 plan.stop
33 table
34 end
35
36 def test_record_batch_reader
37 numbers = build_int8_array([1, 2, 3, 4, 5])

Callers

nothing calls this directly

Calls 4

stopMethod · 0.80
newMethod · 0.45
validateMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected