(fns, ext_file, fn_name)
| 173 | # Substrait has not finalized what the URI should be for standard functions |
| 174 | # In the meantime, lets just check the suffix |
| 175 | def has_function(fns, ext_file, fn_name): |
| 176 | suffix = f'{ext_file}#{fn_name}' |
| 177 | for fn in fns: |
| 178 | if fn.endswith(suffix): |
| 179 | return True |
| 180 | return False |
| 181 | |
| 182 | |
| 183 | def test_get_supported_functions(): |
no outgoing calls
no test coverage detected