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

Function check_one_way

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

Source from the content-addressed store, hash-verified

985 )
986
987 def check_one_way(field):
988 expr = pc.is_null(pc.field(field.name))
989 buf = pa.substrait.serialize_expressions([expr], ["test_expr"], schema)
990 returned = pa.substrait.deserialize_expressions(buf)
991 assert alt_schema == returned.schema
992
993 for field in schema:
994 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