Skip to content

Integrate with the latest mssql jdbc driver to fix historical dates parsing - #55878

Merged
Rodi Reich Zilberman (rodireich) merged 7 commits into
masterfrom
6610-source-mssql---datetimeoffset-value-parsed-incorrectly
Mar 20, 2025
Merged

Rodi Reich Zilberman (rodireich) merged 7 commits into
masterfrom
6610-source-mssql---datetimeoffset-value-parsed-incorrectly

Conversation

@rodireich

@rodireich Rodi Reich Zilberman (rodireich) commented Mar 20, 2025 •

Copy link
Copy Markdown
Contributor

What

Ensure pre-gregorian dates are not read with an offset.

How

Microsoft fixed a bug on their driver. Integrate source-mssql with the now fixed 12.10.0.

User Impact

Users with historical value (before Oct 4th 1582) should refresh their data as previously the value might have been read incorrectly.
All other dates are not affected.

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

@vercel

vercel Bot commented Mar 20, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 20, 2025 8:12pm

.addExpectedValues("2001-01-10T00:00:00.000000+01:00",
"9999-01-10T00:00:00.000000+01:00", null, "2024-05-10T19:00:01.604805+03:00", "2024-03-02T19:08:07.123456+09:00",
"2024-03-02T19:08:07.123456+09:00")
"2024-03-02T19:08:07.123456+09:00", "0001-01-01T00:00:00.000000Z")

@rodireich Rodi Reich Zilberman (rodireich) Mar 20, 2025 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before the MS driver fix this is coming back as 0001-12-30T00:00:00.000000Z BC.

@rodireich Rodi Reich Zilberman (rodireich) changed the title test Integrate with the latest mssql jdbc driver to fix historical dates parsing Mar 20, 2025
@rodireich
Rodi Reich Zilberman (rodireich) marked this pull request as ready for review March 20, 2025 20:16

@theyueli Yue Li (theyueli) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the fix!!

@rodireich
Rodi Reich Zilberman (rodireich) deleted the 6610-source-mssql---datetimeoffset-value-parsed-incorrectly branch March 20, 2025 20:20
Sven Pöche (Valgard) pushed a commit to mayflower/airbyte that referenced this pull request Mar 25, 2025

This branch was successfully deployed

1 active deployment
Preview — df1fbc4e Deployed Mar 20, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants