calcite
calcite copied to clipboard
[CALCITE-4754] Fixed wrong SQL generated for PIVOT queries on Redshift.
This PR fixes the SQL produced by Calcite for a PIVOT query targeting Redshift
The changes LGTM, however, I find a bit weird that IS TRUE
is mentioned all over the code but not featuring at all in the unit tests. Can you expand the test cases to cover it explicitly or elaborate on why you think it's not needed?