MCPcopy Create free account
hub / github.com/alibaba/zvec / fill_user_id

Function fill_user_id

src/db/sqlengine/sqlengine_impl.cc:494–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

492}
493
494void fill_user_id(const std::shared_ptr<arrow::Array> &user_id_array,
495 DocPtrList::iterator doc_it) {
496 arrow::StringArray *typed_arr =
497 static_cast<arrow::StringArray *>(user_id_array.get());
498 for (int64_t i = 0; i < typed_arr->length(); ++i, ++doc_it) {
499 // user_id is non-null
500 (*doc_it)->set_pk(typed_arr->GetString(i));
501 }
502}
503
504Status record_batch_to_doc_list(
505 const std::vector<FieldAndSchema> &output_fields,

Callers 1

record_batch_to_doc_listFunction · 0.85

Calls 2

lengthMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected