Skip to content

sql: reject array-of-list/map from polymorphic array functions#37446

Open
def- wants to merge 1 commit into
MaterializeInc:mainfrom
def-:pr-sql-458
Open

sql: reject array-of-list/map from polymorphic array functions#37446
def- wants to merge 1 commit into
MaterializeInc:mainfrom
def-:pr-sql-458

Conversation

@def-

@def- def- commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

array_remove (and other polymorphic array functions) could resolve their result to array of list/array of map, which has no pg type OID and crashed the pgwire connection when the row description was encoded. Reject it at plan time, like the ARRAY[] constructor and array_fill already do.

Closes SQL-458

array_remove (and other polymorphic array functions) could resolve their
result to `array of list`/`array of map`, which has no pg type OID and
crashed the pgwire connection when the row description was encoded. Reject
it at plan time, like the ARRAY[] constructor and array_fill already do.

Closes SQL-458

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@def- def- requested a review from SangJunBak July 5, 2026 14:44
@def- def- requested a review from a team as a code owner July 5, 2026 14:44
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