提交 7aaa5ff4 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Add new requirements to getResult() methods of user-defined aggregates

上级 62dffc6f
......@@ -21,6 +21,8 @@ Change Log
<h2>Next Version (unreleased)</h2>
<ul>
<li>PR #1656: Optimize window aggregates with ORDER BY + UNBOUNDED PRECEDING + no exclusions
</li>
<li>Issue #1654: OOM in TestMemoryUsage, in big mode
</li>
<li>Issue #1651: TIMESTAMP values near DST may be changed in MVStore database due to UTC-based PageStore format in some
......
......@@ -44,7 +44,9 @@ public interface Aggregate {
void add(Object value) throws SQLException;
/**
* This method returns the computed aggregate value.
* This method returns the computed aggregate value. This method must
* preserve previously added values and must be able to reevaluate result if
* more values were added since its previous invocation.
*
* @return the aggregated value
*/
......
......@@ -47,7 +47,9 @@ public interface AggregateFunction {
void add(Object value) throws SQLException;
/**
* This method returns the computed aggregate value.
* This method returns the computed aggregate value. This method must
* preserve previously added values and must be able to reevaluate result if
* more values were added since its previous invocation.
*
* @return the aggregated value
*/
......
......@@ -805,4 +805,4 @@ queryparser tokenized freeze factorings recompilation unenclosed rfe dsync
econd irst bcef ordinality nord unnest
analyst occupation distributive josaph aor engineer sajeewa isuru randil kevin doctor businessman artist ashan
corrupts splitted disruption unintentional octets preconditions predicates subq objectweb insn opcodes
preserves masking holder unboxing avert iae transformed subtle
preserves masking holder unboxing avert iae transformed subtle reevaluate exclusions
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论