[CALCITE-5634] Enable GREATEST, LEAST functions in PostgreSQL library
- Add new GREATEST and LEAST functions for PostgreSQL
- The new functions only return null if all arguments are null
- Created a new library for RedShift since it is not truly a union of Oracle and PostgreSQL functions
What's the relationship with #3142?
@mihaibudiu I'll split this as you suggest. The RedShift library change will go into a new PR.
@mihaibudiu This PR is now based on top of https://github.com/apache/calcite/pull/3829
When 3829 is merged in, I can rebase this off of main.
In any case, I will review this again after it's rebased on #3829
Quality Gate passed
Issues
4 New issues
0 Accepted issues
Measures
0 Security Hotspots
97.3% Coverage on New Code
0.0% Duplication on New Code
The commits have been squashed.