UseHashReduction return whether to use hash reduction or not
()
| 418 | |
| 419 | // UseHashReduction return whether to use hash reduction or not |
| 420 | func (ctx *OOPKContext) UseHashReduction() bool { |
| 421 | return utils.GetConfig().Query.EnableHashReduction && |
| 422 | cgoutils.SupportHashReduction() && isAtomicAggType(ctx.AggregateType) |
| 423 | } |
no test coverage detected