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

Function RedactedDebugString

be/src/util/thrift-debug-util.h:132–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130template <typename T,
131 std::enable_if_t<HasSecret<T>::value, T>* = nullptr>
132inline std::string RedactedDebugString(const T& t) {
133 T copy = t;
134 RemoveAnySecret(copy);
135 return apache::thrift::ThriftDebugString(copy);
136}
137
138inline std::string RedactedDebugString(const TExecutePlannedStatementReq& req) {
139 static const char* ret_pattern =

Callers 15

CloseSessionMethod · 0.85
GetInfoMethod · 0.85
ExecuteStatementMethod · 0.85
GetTypeInfoMethod · 0.85
GetCatalogsMethod · 0.85
GetSchemasMethod · 0.85
GetTablesMethod · 0.85
GetTableTypesMethod · 0.85
GetColumnsMethod · 0.85
GetFunctionsMethod · 0.85

Calls 3

RemoveAnySecretFunction · 0.85
ThriftDebugStringFunction · 0.85
SubstituteFunction · 0.85

Tested by

no test coverage detected