Skip to content

Commit 0b4fcaa

Browse files
jaidisidomalachi-constantkukushking
authored
fix: remove .lower in dtype sanitize for to_parquet (#2369)
Co-authored-by: Lucas Hanson <[email protected]> Co-authored-by: kukushking <[email protected]>
1 parent 6eb8462 commit 0b4fcaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awswrangler/s3/_write.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def _sanitize(
125125
bucketing_info = [
126126
catalog.sanitize_column_name(bucketing_col) for bucketing_col in bucketing_info[0]
127127
], bucketing_info[1]
128-
dtype = {catalog.sanitize_column_name(k): v.lower() for k, v in dtype.items()}
128+
dtype = {catalog.sanitize_column_name(k): v for k, v in dtype.items()}
129129
_utils.check_duplicated_columns(df=df)
130130
return _SanitizeResult(df, dtype, partition_cols, bucketing_info)
131131

0 commit comments

Comments
 (0)