(names, schema)
| 197 | schema_1 = pa.schema([pa.field("x", pa.int64())]) |
| 198 | |
| 199 | def table_provider(names, schema): |
| 200 | if not names: |
| 201 | raise Exception("No names provided") |
| 202 | elif names[0] == "t1": |
| 203 | assert schema == schema_1 |
| 204 | return test_table_1 |
| 205 | elif names[1] == "t2": |
| 206 | return test_table_2 |
| 207 | else: |
| 208 | raise Exception("Unrecognized table name") |
| 209 | |
| 210 | substrait_query = """ |
| 211 | { |
nothing calls this directly
no outgoing calls
no test coverage detected