Skip to content

Support user defined function on exploded array#4001

Open
pengpeng-lu wants to merge 3 commits intoFoundationDB:mainfrom
pengpeng-lu:ref_key_children
Open

Support user defined function on exploded array#4001
pengpeng-lu wants to merge 3 commits intoFoundationDB:mainfrom
pengpeng-lu:ref_key_children

Conversation

@pengpeng-lu
Copy link
Contributor

select T.a, item.b from T, T.item_array as item where get_price(item) = ...
Before we couldn't access item in user defined function, because we'll only look for fields inside item.
This PR fixes the problem by adding an EphemeralExpression to array of struct operators, so that we can match the array of struct.

@pengpeng-lu pengpeng-lu requested a review from hatyo March 12, 2026 22:31
@pengpeng-lu pengpeng-lu added the enhancement New feature or request label Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant