MCPcopy
hub / github.com/uber/aresdb / UseHashReduction

Method UseHashReduction

query/aql_context.go:420–423  ·  view source on GitHub ↗

UseHashReduction return whether to use hash reduction or not

()

Source from the content-addressed store, hash-verified

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

Callers 3

projectMethod · 0.80
reduceMethod · 0.80

Calls 3

GetConfigFunction · 0.92
SupportHashReductionFunction · 0.92
isAtomicAggTypeFunction · 0.85

Tested by

no test coverage detected