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

Function check_one_way

python/pyarrow/tests/test_substrait.py:1000–1004  ·  view source on GitHub ↗
(field)

Source from the content-addressed store, hash-verified

998 )
999
1000 def check_one_way(field):
1001 expr = pc.is_null(pc.field(field.name))
1002 buf = pa.substrait.serialize_expressions([expr], ["test_expr"], schema)
1003 returned = pa.substrait.deserialize_expressions(buf)
1004 assert alt_schema == returned.schema
1005
1006 for field in schema:
1007 check_one_way(field)

Callers 1

test_arrow_one_way_typesFunction · 0.85

Calls 2

is_nullMethod · 0.80
fieldMethod · 0.45

Tested by

no test coverage detected