trino icon indicating copy to clipboard operation
trino copied to clipboard

Add varchar/char cast pushdown support in Redshift

Open mayankvadariya opened this issue 1 year ago • 0 comments
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`)

mayankvadariya avatar Oct 16 '24 18:10 mayankvadariya