提交 fe26f354 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Remove useless assertion

上级 81bd7b8f
......@@ -95,7 +95,6 @@ public abstract class AbstractAggregate extends DataAnalysisOperation {
boolean grouped = frame == null
|| frame.getUnits() != WindowFrameUnits.ROWS && frame.getExclusion().isGroupOrNoOthers();
if (frame == null) {
assert over.getOrderBy() != null;
aggregateFastPartition(session, result, ordered, rowIdColumn, grouped);
return;
}
......
......@@ -411,7 +411,8 @@ public abstract class DataAnalysisOperation extends Expression {
}
/**
* Returns result of this window function or window aggregate.
* Returns result of this window function or window aggregate. This method
* may not be called on window aggregate without window order clause.
*
* @param session
* the session
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论