MCPcopy Create free account
hub / github.com/apache/impala / ComputePrecisionFromScale

Function ComputePrecisionFromScale

be/src/exprs/aggregate-functions-ir.cc:2097–2099  ·  view source on GitHub ↗

Compute the precision from a scale value.

Source from the content-addressed store, hash-verified

2095
2096// Compute the precision from a scale value.
2097static inline int ComputePrecisionFromScale(int scale) {
2098 return scale + 8;
2099}
2100
2101// Compute the precision from a scale value. This method must be identical
2102// to function ComputeHllLengthFromScale() defined in FunctionCallExpr.java.

Callers 2

HllUpdateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected