Skip to content

Set session timezone to UTC to prevent data drift for timestamp columns - #165

Closed
dveeden wants to merge 1 commit into
github:masterfrom
dveeden:timestamp_fix
Closed

dveeden wants to merge 1 commit into
github:masterfrom
dveeden:timestamp_fix

Conversation

@dveeden

@dveeden dveeden commented Aug 18, 2016

Copy link
Copy Markdown
Contributor

Related Issue: #161

Do we need to do the SET SESSION and apply statement in a transaction?
Could this introduce issues with date columns?

Related Issue: github#161

Do we need to do the SET SESSION and apply statement in a transaction?
@shlomi-noach

Copy link
Copy Markdown
Contributor

#172 addresses the transaction requirement

@shlomi-noach

Copy link
Copy Markdown
Contributor

@dveeden I do not see there's an issue with DATE columns, since those to not take @@time_zone into consideration either way.

@shlomi-noach

Copy link
Copy Markdown
Contributor

@dveeden can you clarify whether the SET SESSION time_zone = '+00:00' is tested to work on your side?

@shlomi-noach shlomi-noach mentioned this pull request Aug 19, 2016
4 tasks done
@shlomi-noach

Copy link
Copy Markdown
Contributor

Obsoleted by #175

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.

2 participants