-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor timestamp with timezone unit tests (#10187)
Summary: Pull Request resolved: #10187 Refactoring some of the unit tests using the timestamp with time zone data type to make them more concise and consistent with other tests by using "evaluateOnce()", in addition to allowing it to tests null input and output. Also adding some more convenience functions to the test helper class TimestampWithTimezone. Looking into this since it was pretty hard to understand and compare output of date_add() unit tests, since they were done based on the packed values. There is still *a lot* of clean up to be done in this unit test suite. Fixing a few callsites for now, but leaving additional callsites to a future refactor. Reviewed By: mbasmanova Differential Revision: D58471534 fbshipit-source-id: 680879e5f374889ddddc92a7caa42a0ca3559f05
- Loading branch information
1 parent
8c9d2d5
commit 39743cd
Showing
1 changed file
with
86 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters