-
- Downloads
[SPARK-15204][SQL] improve nullability inference for Aggregator
## What changes were proposed in this pull request? TypedAggregateExpression sets nullable based on the schema of the outputEncoder ## How was this patch tested? Add test in DatasetAggregatorSuite Author: Koert Kuipers <koert@tresata.com> Closes #13532 from koertkuipers/feat-aggregator-nullable.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/TypedAggregateExpression.scala 4 additions, 4 deletions...rk/sql/execution/aggregate/TypedAggregateExpression.scala
- sql/core/src/test/scala/org/apache/spark/sql/DatasetAggregatorSuite.scala 9 additions, 0 deletions...t/scala/org/apache/spark/sql/DatasetAggregatorSuite.scala
Please register or sign in to comment