Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support timestamp and interval arithmetic (#5764)
* 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 * ok till arrow kernel ops * macro will replace matches inside evaluate add tests macro will replace matches inside evaluate ready for review * Code refactor * retract changes in scalar and datetime * ts op interval with chrono functions * bug fix and refactor * test refactor * Enhance commenting * new binary operation logic, handling the inside errors * slt and minor changes * tz parsing excluded * replace try_binary and as_datetime, and keep timezone for ts+interval op * fix after merge * delete unused functions --------- Co-authored-by: Mehmet Ozan Kabak <ozankabak@gmail.com> Co-authored-by: metesynnada <100111937+metesynnada@users.noreply.github.com> Co-authored-by: Mustafa Akur <mustafa.akur@synnada.ai>
- Loading branch information