-
Notifications
You must be signed in to change notification settings - Fork 544
feat(deps)!: Update MSSQL plugin-sdk to v1.39.1 #8318
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
Conversation
| [_cq_parent_id] uniqueidentifier, | ||
| [_cq_source_name] nvarchar(4000), | ||
| [_cq_sync_time] datetimeoffset, | ||
| [_cq_sync_time] datetime2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
datetimeoffset saves the time zone information so if we write a time.Time and then read it the time zone information gets added and we get a different value than the original (see comment in PR description and
| return "timestamp without time zone" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
requires cloudquery/plugin-sdk#700
de4c7d3 to
f7f5cc8
Compare
| [_cq_parent_id] uniqueidentifier, | ||
| [_cq_source_name] nvarchar(4000), | ||
| [_cq_sync_time] datetimeoffset, | ||
| [_cq_sync_time] datetime2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
requires cloudquery/plugin-sdk#700
| [_cq_parent_id] uniqueidentifier, | ||
| [_cq_source_name] nvarchar(4000), | ||
| [_cq_sync_time] datetimeoffset, | ||
| [_cq_sync_time] datetime2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
requires cloudquery/plugin-sdk#700
candiduslynx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm OK with the changes, however, I think we need to address cloudquery/plugin-sdk#700 prior to merging this
2cc6640 to
b442896
Compare
|
@candiduslynx small follow up in b442896 (still needs the UTC fix though) |
Co-authored-by: candiduslynx <[email protected]>
c610cf2 to
99235be
Compare
|
@candiduslynx 99235be is related to #8436 |
|
@candiduslynx see cloudquery/plugin-sdk#716. I think the impact of cloudquery/plugin-sdk#700 is not that big |
Summary
Same as #7819 for MSSQL.
This is a breaking change due to the type change from
datetimeoffsettodatetime2as we don't want to save time zone offset, seecloudquery/plugins/destination/postgresql/client/types.go
Line 74 in ee4b2c0
I suggest following the code in an IDE as it's hard to understand the changes from the diff.
BEGIN_COMMIT_OVERRIDE
feat(deps): Update MSSQL plugin-sdk to v1.38.2
BREAKING-CHANGE: Update MSSQL plugin-sdk to v1.38.2. You'll need to drop the database and start fresh due to a change in the schema for all timestamp columns from
datetimeoffsettodatetime2.END_COMMIT_OVERRIDE