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

Changed datetime and timestamp types to honor precision and default to 0 digit precision #1944

Merged
merged 18 commits into from
Aug 16, 2023

Conversation

zachmu
Copy link
Member

@zachmu zachmu commented Aug 16, 2023

This matches the MySQL behavior.

Partial fix for dolthub/dolt#6503

Copy link
Contributor

@Hydrocharged Hydrocharged left a comment

Choose a reason for hiding this comment

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

Overall looks good, just some small comments

enginetest/memory_engine_test.go Outdated Show resolved Hide resolved
sql/types/datetime.go Outdated Show resolved Hide resolved
@zachmu zachmu merged commit ca69015 into main Aug 16, 2023
6 checks passed
zachmu added a commit that referenced this pull request Aug 17, 2023
This reverts commit ca69015, reversing
changes made to c11b504.
max-hoffman pushed a commit that referenced this pull request Aug 17, 2023
max-hoffman added a commit that referenced this pull request Aug 17, 2023
* Name resolution refactor

* [ga-format-pr] Run ./format_repo.sh to fix formatting

* Revert "Merge pull request #1944 from dolthub/zachmu/timestamp"

This reverts commit ca69015, reversing
changes made to c11b504.

* srid

* merge revert

---------

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
Co-authored-by: Zach Musgrave <zach@dolthub.com>
@Hydrocharged Hydrocharged deleted the zachmu/timestamp branch August 24, 2023 00:17
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