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

Function LogSketchDeserializationError

be/src/exprs/datasketches-common.cc:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36using std::vector;
37
38void LogSketchDeserializationError(FunctionContext* ctx, const std::exception& e) {
39 ctx->SetError(strings::Substitute("Unable to deserialize sketch: $0",
40 e.what()).c_str());
41}
42
43StringVal StringStreamToStringVal(FunctionContext* ctx, const stringstream& str_stream) {
44 string str = str_stream.str();

Callers 15

DsHllEstimateMethod · 0.85
DsHllUnionFMethod · 0.85
DsHllStringifyMethod · 0.85
DsCpcEstimateMethod · 0.85
DsCpcStringifyMethod · 0.85
DsThetaEstimateMethod · 0.85
DsThetaExcludeMethod · 0.85
DsKllNMethod · 0.85
DsKllRankMethod · 0.85
DsKllStringifyMethod · 0.85
DsHllUnionUpdateMethod · 0.85

Calls 2

SubstituteFunction · 0.85
SetErrorMethod · 0.45

Tested by

no test coverage detected