Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
10.10.1.1
-
None
Description
The Reference Manual section on "CREATE DERBY AGGREGATE statement" should tell users to make sure that all of the state of their user-defined aggregate is really serializable. This is because the Aggregator interface extends java.io.Serializable. A user-defined aggregate may end up being serialized to disk when performing grouped aggregation over a large number of groups. That is, intermediate results may be serialized to disk for a query like the following. The serialization will fail if the user-defined aggregate contains non-serializable fields:
select a, myAggregate( b ) from myTable group by a
Attachments
Attachments
Issue Links
- relates to
-
DERBY-672 Re-enable user defined aggregates
- Closed