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

Method test_execute

ruby/red-arrow-flight-sql/test/test-client.rb:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 end
34
35 def test_execute
36 info = @sql_client.execute("SELECT * FROM page_view_table")
37 endpoint = info.endpoints.first
38 generator = Helper::InfoGenerator.new
39 reader = @sql_client.do_get(endpoint.ticket)
40 assert_equal(generator.page_view_table,
41 reader.read_all)
42 end
43
44 def test_prepare
45 insert_sql = "INSERT INTO page_view_table VALUES ($1, true)"

Callers

nothing calls this directly

Calls 4

executeMethod · 0.45
newMethod · 0.45
do_getMethod · 0.45
page_view_tableMethod · 0.45

Tested by

no test coverage detected