MCPcopy Create free account
hub / github.com/apache/arrow / GetIndexFormat

Function GetIndexFormat

cpp/src/arrow/c/bridge_test.cc:490–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488#endif
489
490std::string GetIndexFormat(Type::type type_id) {
491 switch (type_id) {
492 case Type::UINT8:
493 return "C";
494 case Type::INT8:
495 return "c";
496 case Type::UINT16:
497 return "S";
498 case Type::INT16:
499 return "s";
500 case Type::UINT32:
501 return "I";
502 case Type::INT32:
503 return "i";
504 case Type::UINT64:
505 return "L";
506 case Type::INT64:
507 return "l";
508 default:
509 DCHECK(false);
510 return "";
511 }
512}
513
514TEST_F(TestSchemaExport, Dictionary) {
515 for (auto index_ty : all_dictionary_index_types()) {

Callers 1

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected