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

feat(spanner): add Interval justification #14123

Merged
merged 2 commits into from
May 4, 2024

Commits on May 3, 2024

  1. feat(spanner): add Interval justification

    Add APIs to flow Interval 24-hour offsets into days, and 30-day periods
    into months.  Seeing as "justification" is included in the relational
    operators, to best way to verify the results is by conversion to a
    string.
    
    And now that we have `JustifyHours(intvl)`, apply it to the result of
    `Diff(ts1, ts2, tz)` as required.
    devbww committed May 3, 2024
    Configuration menu
    Copy the full SHA
    a48bc8c View commit details
    Browse the repository at this point in the history
  2. Suppress narrowing warning

    devbww committed May 3, 2024
    Configuration menu
    Copy the full SHA
    e316dc3 View commit details
    Browse the repository at this point in the history