Skip to content

Commit

Permalink
fix bug in typing
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyyid committed Oct 9, 2024
1 parent 1c9a6e7 commit 09af21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gluestick/etl_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ def get(self, stream, default=None, catalog_types=False, **kwargs):
if dtype_dict:
# Convert dtype dictionary to pyarrow schema
fields = [(col, type_mapping[str(dtype).lower()]) for col, dtype in dtype_dict.items()]
fields = fields.extend([(col, pa.timestamp('ns')) for col in parse_dates])
fields.extend([(col, pa.timestamp('ns')) for col in parse_dates])
schema = pa.schema(fields)
df = pq.read_table(filepath, schema=schema).to_pandas(safe=False)
for col, dtype in dtype_dict.items():
Expand Down

0 comments on commit 09af21a

Please sign in to comment.