Skip to content

Commit

Permalink
Timestamp subtraction and interval operations for ScalarValue (apac…
Browse files Browse the repository at this point in the history
…he#5603)

* first implementation and tests of timestamp subtraction

* improvement after review

* postgre interval format option

* random tests extended

* corrections after review

* operator check

* flag is removed

* clippy fix

* toml conflict

* minor changes

* deterministic matches

* simplifications (clippy error)

* test format changed

* minor test fix

* Update scalar.rs

* Refactoring and simplifications

* Make ScalarValue support interval comparison

* naming tests

* macro renaming

* renaming macro

* Utilize DateTime<Tz> parsing timezone

* Get rid of boilerplate by using convenience functions

* Get rid of boilerplate by using convenience functions (part 2)

---------

Co-authored-by: Mehmet Ozan Kabak <[email protected]>
  • Loading branch information
berkaysynnada and ozankabak authored Mar 18, 2023
1 parent d3280d7 commit 3ccf1ae
Show file tree
Hide file tree
Showing 3 changed files with 1,168 additions and 114 deletions.
Loading

0 comments on commit 3ccf1ae

Please sign in to comment.