Skip to content

fix: propagate errors for unsupported table function arguments instead of silently dropping them#21135

Open
buraksenn wants to merge 1 commit intoapache:mainfrom
buraksenn:fix-dropping-of-unsupported-table-arguments
Open

fix: propagate errors for unsupported table function arguments instead of silently dropping them#21135
buraksenn wants to merge 1 commit intoapache:mainfrom
buraksenn:fix-dropping-of-unsupported-table-arguments

Conversation

@buraksenn
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

flat_map swallows error since it results into an iterator that yields no elements. Instead of this this PR uses map and propagates error.

What changes are included in this PR?

error propagation and related tests

Are these changes tested?

Yes I've added both unit and slt test

Are there any user-facing changes?

User's will see propagated error

@github-actions github-actions bot added sql SQL Planner sqllogictest SQL Logic Tests (.slt) labels Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sql SQL Planner sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unsupported table function arguments are silently dropped

1 participant