-
Notifications
You must be signed in to change notification settings - Fork 513
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PostgreSql temporal types to SqlBinaryExpr (#4657)
* Update PostgreSqlTypeResolver temporal type For encapsulatingType allow expressions to return temporal types PostgreSqlType.INTERVAL, PostgreSqlType.TIMESTAMP_TIMEZONE PostgreSqlType.TIMESTAMP e.g 31 * INTERVAL '1 minute' + INTERVAL '2 days' Timestamp should be ordered last When binary expression contains TIMESTAMP and INTERVAL, TIMESTAMP must be selected * Add PostgreSql integration tests Extend the existing tests with binary expressions * Change test to compare two intervals Check that now + 1 is greater than now
- Loading branch information
Showing
3 changed files
with
31 additions
and
0 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