You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using wr.s3.to_csv with glue catalog and the header parameter the corresponding table schema parameter skip.header.line.count is getting set to True which causes an GENERIC_INTERNAL_ERROR: Failed to construct table metadata for table xxxx on querying with Athena. Manually updating the value to 1 fixes the error
When using wr.s3.to_csv with glue catalog and the header parameter the corresponding table schema parameter skip.header.line.count is getting set to True which causes an GENERIC_INTERNAL_ERROR: Failed to construct table metadata for table xxxx on querying with Athena. Manually updating the value to 1 fixes the error
https://github.com/aws/aws-sdk-pandas/blob/8cef7504c4b4aadd44306cde49001fcd062c5bb7/awswrangler/s3/_write_text.py#L585C1-L585C68
"skip_header_line_count": True if header else None,
should be:
"skip_header_line_count": 1 if header else None,
The text was updated successfully, but these errors were encountered: