forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-50029][SQL] Make
StaticInvoke
compatible with the method tha…
…t return `Any` ### What changes were proposed in this pull request? The pr aims to make `StaticInvoke` compatible with the method that return `Any`. ### Why are the changes needed? Currently, our `StaticInvoke` does not support calling the method with a return type signature of `Any`(actually, the type of return value may be `different data type`), while `Invoke` supports it, let's align it. ### Does this PR introduce _any_ user-facing change? No, only for spark developer. ### How was this patch tested? - Add new UT. - Pass GA. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#48542 from panbingkun/SPARK-50029. Authored-by: panbingkun <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
- Loading branch information
1 parent
738dfa3
commit f9a5de4
Showing
2 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters