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

Method MaskShowLastN

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

MaskShowLastN overloads for string value

Source from the content-addressed store, hash-verified

533
534/// MaskShowLastN overloads for string value
535StringVal MaskFunctions::MaskShowLastN(FunctionContext* ctx, const StringVal& val) {
536 return MaskShowLastNImpl(ctx, val, CHAR_COUNT, MASKED_UPPERCASE, MASKED_LOWERCASE,
537 MASKED_DIGIT, MASKED_OTHER_CHAR);
538}
539StringVal MaskFunctions::MaskShowLastN(FunctionContext* ctx, const StringVal& val,
540 const IntVal& char_count) {
541 int un_mask_char_count = char_count.val;

Callers

nothing calls this directly

Calls 3

MaskShowLastNImplFunction · 0.85
GetFirstCharFunction · 0.85
GetDigitFromStringFunction · 0.85

Tested by

no test coverage detected