Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions core/src/main/antlr4/org/apache/druid/math/expr/antlr/Expr.g4
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

grammar Expr;

start : expr EOF;

expr : NULL # null
| ('-'|'!') expr # unaryOpExpr
|<assoc=right> expr '^' expr # powOpExpr
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public abstract class BottomUpTransform implements Function<Filtration, Filtrati
private DimFilter checkedProcess(final DimFilter filter)
{
final DimFilter retVal = process(Preconditions.checkNotNull(filter, "filter"));
return Preconditions.checkNotNull(retVal, "process(filter) result in %s", getClass().getSimpleName());
assert retVal != null;
return retVal;
}

@Override
Expand Down