| 311 | } |
| 312 | |
| 313 | IMPALA_UDF_EXPORT |
| 314 | BigIntVal Count(FunctionContext* context) { |
| 315 | uint64_t* state = reinterpret_cast<uint64_t*>( |
| 316 | context->GetFunctionState(FunctionContext::THREAD_LOCAL)); |
| 317 | return BigIntVal(++(*state)); |
| 318 | } |
| 319 | |
| 320 | IMPALA_UDF_EXPORT |
| 321 | void CountClose(FunctionContext* context, FunctionContext::FunctionStateScope scope) { |
nothing calls this directly
no test coverage detected