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

Method MaskFirstN

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

MaskFirstN overloads for string value

Source from the content-addressed store, hash-verified

614
615/// MaskFirstN overloads for string value
616StringVal MaskFunctions::MaskFirstN(FunctionContext *ctx, const StringVal &val) {
617 return MaskFirstNImpl(ctx, val, CHAR_COUNT, MASKED_UPPERCASE, MASKED_LOWERCASE,
618 MASKED_DIGIT, MASKED_OTHER_CHAR);
619}
620StringVal MaskFunctions::MaskFirstN(FunctionContext* ctx, const StringVal& val,
621 const IntVal& char_count) {
622 return MaskFirstNImpl(ctx, val, char_count.val, MASKED_UPPERCASE, MASKED_LOWERCASE,

Callers

nothing calls this directly

Calls 3

MaskFirstNImplFunction · 0.85
GetFirstCharFunction · 0.85
GetDigitFromStringFunction · 0.85

Tested by

no test coverage detected