Skip to content

fix: coerce nanoseconds (#3357) - #3407

Open
wasim-builds wants to merge 1 commit into
aws:mainfrom
wasim-builds:fix/issue-3357-coerce-nanoseconds
Open

fix: coerce nanoseconds (#3357)#3407
wasim-builds wants to merge 1 commit into
aws:mainfrom
wasim-builds:fix/issue-3357-coerce-nanoseconds

Conversation

@wasim-builds

@wasim-builds wasim-builds commented Jul 23, 2026

Copy link
Copy Markdown

Fixes #3357

Problem

DataFrame columns with nanosecond-resolution datetime values are not handled correctly during type coercion.

Fix

Add nanosecond coercion logic in awswrangler/_data_types.py.

Scope

Single-file change in awswrangler/_data_types.py.

Verification

Datetime columns with nanosecond precision are correctly coerced without precision loss or overflow errors.

@wasim-builds
wasim-builds force-pushed the fix/issue-3357-coerce-nanoseconds branch from 0211f18 to 8c440d5 Compare July 23, 2026 14:59
@wasim-builds

Copy link
Copy Markdown
Author

Rebased onto latest upstream/main and removed the unrelated stacked commit (feat: add conditional_merge support to to_iceberg). Only the nanoseconds fix remains.

@wasim-builds wasim-builds changed the title fix/issue 3357 coerce nanoseconds fix: coerce nanoseconds (#3357) Jul 25, 2026
@wasim-builds

Copy link
Copy Markdown
Author

Hey 👋 Friendly bump on this one — small fix for nanosecond coercion (Fixes #3357). No rush, just checking in! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timestamp resolution overflow with pandas>=3.0

1 participant