Skip to content

feat(sync-service): add Postgres concat(VARIADIC text) to shape subset eval#4281

Open
abegehr wants to merge 3 commits intoelectric-sql:mainfrom
abegehr:abegehr/impl-concat
Open

feat(sync-service): add Postgres concat(VARIADIC text) to shape subset eval#4281
abegehr wants to merge 3 commits intoelectric-sql:mainfrom
abegehr:abegehr/impl-concat

Conversation

@abegehr
Copy link
Copy Markdown

@abegehr abegehr commented May 6, 2026

Register concat with NULL-skipping semantics (empty string when all args are NULL), matching text concat behavior distinct from || with NULL.

Tests cover literals, refs, ilike(concat(...)), contrast with ||, and document that concat() is unsupported (no concat/0 overload).

abegehr added 3 commits May 6, 2026 20:02
…t eval

Register concat with NULL-skipping semantics (empty string when all args
are NULL), matching text concat behavior distinct from || with NULL.

Tests cover literals, refs, ilike(concat(...)), contrast with ||, and
document that concat() is unsupported (no concat/0 overload).
Enhance SQL generator to support variadic concat function, allowing concatenation of multiple elements wrapped in an array. Update tests to verify the correct SQL output for concat with array arguments, ensuring compatibility with existing functionality.
@abegehr abegehr marked this pull request as ready for review May 6, 2026 17:23
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