Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Add redshift concat_ws support #2194

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

eakmanrq
Copy link
Collaborator

Redshift doesn't natively support CONCAT_WS so this adds support using double pipe. It also adds an explicit parser for CONCAT_WS in order to support the CONCAT_NULL_OUTPUTS_STRING flag.

sqlglot/parser.py Outdated Show resolved Hide resolved
@eakmanrq eakmanrq force-pushed the eakmanrq/redshift_add_concat_ws_support branch from 02f9202 to 204cf83 Compare September 12, 2023 05:36
sqlglot/parser.py Outdated Show resolved Hide resolved
@eakmanrq eakmanrq force-pushed the eakmanrq/redshift_add_concat_ws_support branch from 204cf83 to bfbe128 Compare September 12, 2023 15:54
@eakmanrq eakmanrq merged commit 11d95ff into main Sep 12, 2023
@eakmanrq eakmanrq deleted the eakmanrq/redshift_add_concat_ws_support branch September 12, 2023 16:02
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.

3 participants