Skip to content

Commit

Permalink
Force DataFrame datatypes to 'object'
Browse files Browse the repository at this point in the history
  • Loading branch information
mjsqu authored Aug 28, 2023
1 parent f03833b commit 47ef174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target_snowflake/file_formats/parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def records_to_dataframe(records: Dict,
flatten_record = flattening.flatten_record(record, schema, max_level=data_flattening_max_level)
flattened_records.append(flatten_record)

return pandas.DataFrame(data=flattened_records)
return pandas.DataFrame(data=flattened_records, dtype='object',)


def records_to_file(records: Dict,
Expand Down

0 comments on commit 47ef174

Please sign in to comment.