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

Function test_get_supported_functions

python/pyarrow/tests/test_substrait.py:183–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181
182
183def test_get_supported_functions():
184 supported_functions = pa._substrait.get_supported_functions()
185 # It probably doesn't make sense to exhaustively verify this list but
186 # we can check a sample aggregate and a sample non-aggregate entry
187 assert has_function(supported_functions,
188 'functions_arithmetic.yaml', 'add')
189 assert has_function(supported_functions,
190 'functions_arithmetic.yaml', 'sum')
191
192
193@pytest.mark.parametrize("use_threads", [True, False])

Callers

nothing calls this directly

Calls 1

has_functionFunction · 0.85

Tested by

no test coverage detected