-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Unrelated typos Signed-off-by: currantw <[email protected]> * Initial implementation of relative date time logic and unit tests Signed-off-by: currantw <[email protected]> * Minor cleanup Signed-off-by: currantw <[email protected]> * Update to make relative time case-insensitive, and add corresponding unit tests. Signed-off-by: currantw <[email protected]> * Add a few more unit test cases. Signed-off-by: currantw <[email protected]> * Split pattern into smaller strings. Signed-off-by: currantw <[email protected]> * Add `relativeDateTimeFunction` to `SerializableUdf`, along with corresponding unit tests in `SerializableTimeUdfTest`. Add `mockito-inline` to dependencies for `ppl-spark-integration` to allow mocking of current datetime. Signed-off-by: currantw <[email protected]> * Fix dangling Javadoc Signed-off-by: currantw <[email protected]> * Initial implementation of `relative_timestamp` UDF. Signed-off-by: currantw <[email protected]> * Add integration tests, refactor to use Timestamp Signed-off-by: currantw <[email protected]> * Add documentation Signed-off-by: currantw <[email protected]> * Review comments: add more documentation, add ignored tests for earliest and latest. Signed-off-by: currantw <[email protected]> * Minor clean up Signed-off-by: currantw <[email protected]> * Update to use Instant and ZoneId. For some reason, timestamp can be returned, but output from `$CurrentTimestamp` is an `Instant` Signed-off-by: currantw <[email protected]> * Remove unused import Signed-off-by: currantw <[email protected]> * Address review comments Signed-off-by: currantw <[email protected]> * Address review comments Signed-off-by: currantw <[email protected]> * Update unit tests as per review comments Signed-off-by: currantw <[email protected]> * Remove duplicate documentation. Signed-off-by: currantw <[email protected]> * Fix failing IT Signed-off-by: currantw <[email protected]> --------- Signed-off-by: currantw <[email protected]>
- Loading branch information
Showing
14 changed files
with
683 additions
and
11 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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.