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

Refactor time point boundary check code #10587

Closed
wants to merge 1 commit into from

Conversation

pedroerp
Copy link
Contributor

Summary:
Refactor time point boundary check code to make it less fragmented,
and adding more tests.

Differential Revision: D60322812

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 27, 2024
Copy link

netlify bot commented Jul 27, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 24cfba9
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/66a866a97827810008ac01d5

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60322812

Copy link
Contributor

@kagamiori kagamiori left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you for the consolidation!

VELOX_ASSERT_THROW(tryLocalYear(year(int(year::max()) + 1)), expected);
VELOX_ASSERT_THROW(tryLocalYear(year(int(year::min()) - 1)), expected);

// This time point triggers and assertion failure in external/date. Make sure
Copy link
Contributor

Choose a reason for hiding this comment

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

typo: and assertion failure -> an assertion failure.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60322812

pedroerp added a commit to pedroerp/velox-1 that referenced this pull request Jul 30, 2024
Summary:
Pull Request resolved: facebookincubator#10587

Refactor time point boundary check code to make it less fragmented,
and adding more tests.

Reviewed By: kagamiori

Differential Revision: D60322812
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60322812

pedroerp added a commit to pedroerp/velox-1 that referenced this pull request Jul 30, 2024
Summary:
Pull Request resolved: facebookincubator#10587

Refactor time point boundary check code to make it less fragmented,
and adding more tests.

Reviewed By: kagamiori

Differential Revision: D60322812
Summary:
Pull Request resolved: facebookincubator#10587

Refactor time point boundary check code to make it less fragmented,
and adding more tests.

Reviewed By: kagamiori

Differential Revision: D60322812
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60322812

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 98edcd7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants