RewriteSimpleAggToConstantRule

A different version of class was executed at runtime.

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total404 of 4040%68 of 680%444499991010
tryGetConstant(AggregateFunction, OlapTable)1760%360%1919444411
tryRewrite(LogicalAggregate, LogicalOlapScan, StatementContext)1510%320%1717383811
buildRules()220%n/a117711
lambda$buildRules$1(MatchingContext)190%n/a113311
lambda$buildRules$0(MatchingContext)150%n/a113311
getVisibleVersionOrUnknown(OlapTable)60%n/a113311
lambda$tryGetConstant$4(OlapTable)40%n/a111111
lambda$tryGetConstant$3(OlapTable)40%n/a111111
lambda$tryRewrite$2(OlapTable, SqlCacheContext)40%n/a111111
RewriteSimpleAggToConstantRule()30%n/a111111