DerivedExpressionDsl
class DerivedExpressionDsl
Dedicated expression context for AggregationQueryDsl.derived: constant returns a DerivedExpression.Constant rather than the AggregationExpression.Constant built by AggregationQueryDsl.constant, so the two scopes must not share a receiver type.