Skip to content

Commit 038a63b

Browse files
committed
partial refactor of cython code
1 parent 7bcfe4c commit 038a63b

File tree

3 files changed

+286
-364
lines changed

3 files changed

+286
-364
lines changed

bindings/python/pymongoarrow/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def _finish(builder_map, schema):
106106
field = key.decode("utf-8")
107107
arr = value.finish()
108108
if isinstance(value, DocumentBuilder):
109-
full_names = [f"{field}.{name}" for name in arr]
109+
full_names = [f"{field}.{name.decode('utf-8')}" for name in arr]
110110
arrs = [builder_map[c.encode("utf-8")] for c in full_names]
111111
builder_map[field] = StructArray.from_arrays(arrs, names=arr)
112112
to_remove.extend(full_names)

0 commit comments

Comments
 (0)