OHDSI/SqlRender — pull request #3 by ApproximateIdentity (2014-09-25 02:57:41+00:00)
Title: Change VARCHAR(MAX) translation for redshift

@pbr6cornell

This came about as a result of this issue thread:

https://github.com/OHDSI/CohortMethod/issues/4

Currently VARCHAR(MAX) gets translated to VARCHAR by translateSql when
targetting redshift. However, redshift interprets plain VARCHAR as
VARCHAR(256) which is not what we want.

This change fixes my error.