if (!ExprNodeUtility.hasRemoveStream(child, validationContext.getStreamTypeService())) {
hasDataWindows = false;
}
}
AggregationValidationContext context = new AggregationValidationContext(parameterTypes, isConstant, constant, super.isDistinct(), hasDataWindows, expressions);
try
{
// the aggregation function factory is transient, obtain if not provided
if (aggregationFunctionFactory == null) {
aggregationFunctionFactory = validationContext.getMethodResolutionService().getEngineImportService().resolveAggregationFactory(functionName);