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

Method test_is_null_function

c_glib/test/test-null-options.rb:35–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 end
34
35 def test_is_null_function
36 args = [
37 Arrow::ArrayDatum.new(build_float_array([1.0, Float::NAN, 2.0, nil, 4.0])),
38 ]
39 is_null_function = Arrow::Function.find("is_null")
40 @options.nan_is_null = true
41 result = is_null_function.execute(args, @options).value
42 assert_equal(build_boolean_array([false, true, false, true, false]), result)
43 end
44end

Callers

nothing calls this directly

Calls 4

newMethod · 0.45
findMethod · 0.45
valueMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected