forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-50581][SQL] fix support for UDAF in Dataset.observe()
### What changes were proposed in this pull request? Mark inputProjection field as transient in org.apache.spark.sql.execution.aggregate.ScalaAggregator. ### Why are the changes needed? To support UDAF in Dataset.observe() which currently fails due to serialization exception. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Added test. ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#49190 from tomsisso/support-udaf-in-observe. Authored-by: tomsisso <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
- Loading branch information
1 parent
0faf9d5
commit 44ab349
Showing
2 changed files
with
55 additions
and
9 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