trino
trino copied to clipboard
Add varchar/char cast pushdown support in Redshift
trafficstars
Description
This PR adds support for cast projection pushdown for the Redshift connector for char/varchar types.
- char -> char
- varchar -> varchar
Additionally, enforces case-sensitive comparison by using Redshift COLLATE function https://docs.aws.amazon.com/redshift/latest/dg/r_COLLATE.html
Additional context and related issues
Release notes
( ) This is not user-visible or is docs only, and no release notes are required. ( ) Release notes are required. Please propose a release note for me. (x) Release notes are required, with the following suggested text:
# Section
* Add varchar/char cast pushdown support in Redshift. ({issue}`issuenumber`)