@@ -1234,10 +1234,10 @@ def test_read_map(schema_map: Schema, file_map: str) -> None:
12341234
12351235 assert (
12361236 repr (result_table .schema )
1237- == """properties: map<string, string >
1238- child 0, entries: struct<key: string not null, value: string not null> not null
1239- child 0, key: string not null
1240- child 1, value: string not null"""
1237+ == """properties: map<large_string, large_string >
1238+ child 0, entries: struct<key: large_string not null, value: large_string not null> not null
1239+ child 0, key: large_string not null
1240+ child 1, value: large_string not null"""
12411241 )
12421242
12431243
@@ -1721,13 +1721,13 @@ def test_projection_maps_of_structs(schema_map_of_structs: Schema, file_map_of_s
17211721 ):
17221722 assert actual .as_py () == expected
17231723 expected_schema_repr = (
1724- "locations: map<string , struct<latitude: double not null, "
1725- "longitude: double not null, altitude: double>>\n "
1726- " child 0, entries: struct<key: string not null, value: struct<latitude: double not null, "
1727- "longitude : double not null, al (... 25 chars omitted) not null\n "
1728- " child 0, key: string not null\n "
1729- " child 1, value: struct<latitude: double not null, longitude: double not null, "
1730- "altitude: double> not null\n "
1724+ "locations: map<large_string , struct<latitude: double not null, longitude: "
1725+ "double not null, altitude: double>>\n "
1726+ " child 0, entries: struct<key: large_string not null, value: "
1727+ "struct<latitude : double not null, longitude: double not nu (... 31 chars omitted) not null\n "
1728+ " child 0, key: large_string not null\n "
1729+ " child 1, value: struct<latitude: double not null, longitude: double "
1730+ "not null, altitude: double> not null\n "
17311731 " child 0, latitude: double not null\n "
17321732 " child 1, longitude: double not null\n "
17331733 " child 2, altitude: double"
0 commit comments