We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7331a0 commit 8e87248Copy full SHA for 8e87248
tests/system/test_arrow.py
@@ -220,4 +220,6 @@ def test_to_arrow_query_with_empty_results(bigquery_client):
220
"json_array_col",
221
]
222
assert table.shape == (0, 5)
223
- assert list(table.field("struct_col").type.names) == ["json_field", "int_field"]
+ struct_type = table.field("struct_col").type
224
+ assert struct_type.get_field_index("json_field") == 0
225
+ assert struct_type.get_field_index("int_field") == 1
0 commit comments