Skip to content

Conversation

@yoavcloud
Copy link
Contributor

We've encountered a statement of the following form that failed to parse due to a missing comma, that is accepted by Redshift:

SELECT 'ab' IN (
   'a'
   'b'
)

Turns out Redshift considers the 'a' <NEWLINE> 'b' as a concatenation, so it's evaluted as 'ab'. The fix here is to parse this construct as 'ab'.

@yoavcloud yoavcloud force-pushed the redshift_concat_strings_newline branch from 0062599 to e05a766 Compare January 20, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant