Skip to content

Conversation

taniabogatsch
Copy link
Contributor

In the lambda function binding code, we must attempt binding twice. First, we try binding the function as a lambda function. If this fails, we try binding it as a JSON function. If both fail, we throw. Therefore, we need to reset the function if the first binding fails, which was not true for UNNEST.

Now, we no longer throw an InternalException. Instead, we throw the expected binder exception.

Closes #9732.

@github-actions github-actions bot marked this pull request as draft November 28, 2023 09:44
@taniabogatsch taniabogatsch marked this pull request as ready for review November 28, 2023 09:45
@Mytherin Mytherin merged commit 3f96a90 into duckdb:main Nov 29, 2023
@Mytherin
Copy link
Collaborator

Thanks!

@taniabogatsch taniabogatsch deleted the fix-missing-expr branch November 29, 2023 10:12
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Dec 14, 2023
Merge pull request duckdb/duckdb#9821 from taniabogatsch/fix-missing-expr
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.

Triggered an INTERNAL Error: BoundExpression::GetExpression called on empty bound expression
2 participants