Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove custom debezium mssql converted for datetimeoffset type #39342

Merged
merged 8 commits into from
Jun 7, 2024

Conversation

rodireich
Copy link
Contributor

@rodireich rodireich commented Jun 7, 2024

We convert datetimeoffset types in debezium incorrectly. assuming 7 decimal digits (precision).
The conversion doesn't appear to be adding any value as defaults / nulls are handled correctly now by debezium.
Removing custom conversion of this type.
The string representation of a datetimeoffset during initial snapshot is identical to the one now coming from the debezium default converter:2024-05-10 19:00:01.604805 +03:00 (note the 6 precision digits)

Copy link

vercel bot commented Jun 7, 2024

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

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Jun 7, 2024 3:52pm

@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Jun 7, 2024
@rodireich rodireich marked this pull request as ready for review June 7, 2024 16:06
@rodireich rodireich requested a review from a team as a code owner June 7, 2024 16:06
Copy link
Contributor

@evantahler evantahler left a comment

Choose a reason for hiding this comment

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

I love deleting code!
The tests confirm things still work.

@rodireich rodireich merged commit 8b76e89 into master Jun 7, 2024
34 checks passed
@rodireich rodireich deleted the 36225-remove-custom-mssql-datetimeoffset-conv branch June 7, 2024 20:09
@rodireich
Copy link
Contributor Author

We need to take at some point a good look at our custom converters.
There's tons of stuff we do that may have been necessary back in 2021 but no longer valid - this case of datetimeoffset is one. Filing a separate issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/mssql
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[source-MSSQL] incremental append failed due to datetimeoffset with CDC as update method
3 participants