def METHOD_NAME():
    with tempfile.TemporaryFile(mode="w+b") as file:
        file.write(bytes(test_table.to_csv(index=False, header=True), encoding="utf-8"))
        file.seek(0)
        fields = csv_tsv.CsvInferrer(max_rows=100).infer_schema(file)
        fields.sort(key=lambda x: x.fieldPath)
        assert_field_paths_match(fields, expected_field_paths)
        assert_field_types_match(fields, expected_field_types)