Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

feat!: remove Timestamp::Min() and Timestamp::Max() #1182

Merged
merged 1 commit into from
Jan 10, 2020

Conversation

devbww
Copy link
Contributor

@devbww devbww commented Jan 10, 2020

There is a question as to whether Timestamp::Min() and
Timestamp::Max() should reflect the actual range of
class Timestamp or the documented range of a Spanner
TIMESTAMP field. So, until there is a demonstrated need
one way or the other, let's simply remove them.


This change is Reviewable

There is a question as to whether `Timestamp::Min()` and
`Timestamp::Max()` should reflect the actual range of
`class Timestamp` or the documented range of a Spanner
TIMESTAMP field.  So, until there is a demonstrated need
one way or the other, let's simply remove them.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 10, 2020
@codecov
Copy link

codecov bot commented Jan 10, 2020

Codecov Report

Merging #1182 into master will decrease coverage by 0.03%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1182      +/-   ##
==========================================
- Coverage   95.66%   95.63%   -0.04%     
==========================================
  Files         175      175              
  Lines       13567    13564       -3     
==========================================
- Hits        12979    12972       -7     
- Misses        588      592       +4
Impacted Files Coverage Δ
google/cloud/spanner/timestamp.h 91.3% <ø> (ø) ⬆️
google/cloud/spanner/timestamp.cc 95.28% <0%> (-0.59%) ⬇️
google/cloud/spanner/timestamp_test.cc 100% <100%> (ø) ⬆️
google/cloud/spanner/samples/samples.cc 86.15% <0%> (-0.29%) ⬇️
google/cloud/spanner/value.h 92.7% <0%> (-0.11%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fd06727...3fdc25c. Read the comment docs.

@devbww devbww requested a review from devjgm January 10, 2020 05:12
@devbww devbww merged commit 2d00165 into googleapis:master Jan 10, 2020
@devbww devbww deleted the timestamp-minmax branch January 10, 2020 05:32
devjgm pushed a commit to devjgm/google-cloud-cpp that referenced this pull request May 7, 2020
…e-cloud-cpp-spanner#1182)

There is a question as to whether `Timestamp::Min()` and
`Timestamp::Max()` should reflect the actual range of
`class Timestamp` or the documented range of a Spanner
TIMESTAMP field.  So, until there is a demonstrated need
one way or the other, let's simply remove them.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants