Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
leej3 committed Aug 27, 2024
1 parent a12873a commit 159e899
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osm/schemas/schema_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,8 @@ def matches_to_table(matches: Iterator[dict], batch_size: int = 1000) -> pa.Tabl
inferred_type = pa.bool
elif col == "manual_is_open_data":
inferred_type = pa.bool_()
elif col == "created_at":
inferred_type = pa.timestamp("ns")
else:
inferred_type = infer_type_for_column(df[col])
adjusted_schema = adjusted_schema.append(pa.field(col, inferred_type))
Expand Down

0 comments on commit 159e899

Please sign in to comment.