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

Method GetArgType

be/src/udf/udf.cc:606–609  ·  view source on GitHub ↗

TODO: why doesn't libudasample.so build if this in udf-ir.cc?

Source from the content-addressed store, hash-verified

604
605// TODO: why doesn't libudasample.so build if this in udf-ir.cc?
606const FunctionContext::TypeDesc* FunctionContext::GetArgType(int arg_idx) const {
607 if (arg_idx < 0 || arg_idx >= impl_->arg_types_.size()) return NULL;
608 return &impl_->arg_types_[arg_idx];
609}
610
611static int GetTypeByteSize(const FunctionContext::TypeDesc& type) {
612#if defined(IMPALA_UDF_SDK_BUILD) && IMPALA_UDF_SDK_BUILD

Callers 15

CharLengthMethod · 0.80
ReplacePrepareMethod · 0.80
DoTrimPrepareMethod · 0.80
RegexpPrepareMethod · 0.80
ParseUrlPrepareMethod · 0.80
FnvHashDecimalMethod · 0.80
MurmurHashDecimalMethod · 0.80
TypeOfMethod · 0.80
TemplatedInMethod · 0.80
SetLookupPrepareMethod · 0.80
PcUpdateMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by 12

ValidateFunctionContextFunction · 0.64
ValidateFunctionContext2Function · 0.64
ValidateFunctionContext3Function · 0.64
ValidateFunctionContext4Function · 0.64
TruncSumInitFunction · 0.64
TruncSumUpdateFunction · 0.64
TruncSumMergeFunction · 0.64
TruncSumSerializeFunction · 0.64
TruncSumFinalizeFunction · 0.64
DecimalVal VarSumFunction · 0.64