Skip to content

Commit dcda1de

Browse files
authored
fix: array type conversion in format_type (#180)
* fix: array type conversion in format_type * feat: update oid to int32 in arrow
1 parent 43c5098 commit dcda1de

21 files changed

+56
-29
lines changed

datafusion-postgres/export_pg_catalog_arrow.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def pg_type_to_arrow_type(pg_type, is_nullable=True):
173173
'character varying': pa.string(),
174174
'character': pa.string(),
175175
'name': pa.string(),
176-
'oid': pa.uint32(), # OIDs are unsigned
176+
'oid': pa.int32(), # OIDs are unsigned
177177
'regproc': pa.string(),
178178
'regtype': pa.string(),
179179
'regclass': pa.string(),
16 Bytes
Binary file not shown.
16 Bytes
Binary file not shown.
32 Bytes
Binary file not shown.
16 Bytes
Binary file not shown.
32 Bytes
Binary file not shown.
16 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
48 Bytes
Binary file not shown.
64 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)