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

Avoid overlapping validity timestamps (#1736) #1994

Merged
merged 2 commits into from
Dec 13, 2019

Conversation

beckjake
Copy link
Contributor

@beckjake beckjake commented Dec 9, 2019

Fixes #1736

I tried to write a test for this, but it's pretty time-sensitive and I couldn't get one that passed that also failed with the old code on postgres. I've left the schema test I wrote before fiddling with timestamps so you can see it in the PR, but I'm inclined to just revert all the changes to test/. The tests actually do fail on snowflake with the old code.

@cla-bot cla-bot bot added the cla:yes label Dec 9, 2019
@beckjake
Copy link
Contributor Author

/azp run

@beckjake
Copy link
Contributor Author

/azp run

Something weird is going on with snowflake here. The tests all pass locally

@beckjake
Copy link
Contributor Author

/azp run

Copy link
Contributor

@drewbanin drewbanin left a comment

Choose a reason for hiding this comment

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

This is excellent - LGTM! Nice work on the tests here (cc @clrcrl )

@beckjake
Copy link
Contributor Author

I had expert help ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure that snapshot valid_from and valid_to timestamps are non-overlapping
2 participants