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

Method MaskShowFirstN

be/src/exprs/mask-functions-ir.cc:445–448  ·  view source on GitHub ↗

MaskShowFirstN overloads for string value

Source from the content-addressed store, hash-verified

443
444/// MaskShowFirstN overloads for string value
445StringVal MaskFunctions::MaskShowFirstN(FunctionContext* ctx, const StringVal& val) {
446 return MaskShowFirstNImpl(ctx, val, CHAR_COUNT, MASKED_UPPERCASE, MASKED_LOWERCASE,
447 MASKED_DIGIT, MASKED_OTHER_CHAR);
448}
449StringVal MaskFunctions::MaskShowFirstN(FunctionContext* ctx, const StringVal& val,
450 const IntVal& char_count) {
451 int un_mask_char_count = char_count.val;

Callers

nothing calls this directly

Calls 3

MaskShowFirstNImplFunction · 0.85
GetFirstCharFunction · 0.85
GetDigitFromStringFunction · 0.85

Tested by

no test coverage detected