Home
last modified time | relevance | path

Searched refs:schema_detail (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_index_generator.cc268 std::vector<char> schema_detail(schema_lens[sc]); in GetSchemaDetails() local
269 auto &io_read = in.read(&schema_detail[0], schema_lens[sc]); in GetSchemaDetails()
274 auto j = json::from_msgpack(std::string(schema_detail.begin(), schema_detail.end())); in GetSchemaDetails()
393 …const std::vector<json> &schema_detail, std::vector<std::tuple<std::string, std::string, std::stri… in AddIndexFieldByRawData() argument
395 RETURN_IF_NOT_OK(GenerateIndexFields(schema_detail, &index_fields_ptr)); in AddIndexFieldByRawData()
471 Status ShardIndexGenerator::GenerateIndexFields(const std::vector<json> &schema_detail, in GenerateIndexFields() argument
477 …CHECK_FAIL_RETURN_UNEXPECTED(field.first < schema_detail.size(), "Index field id is out of range."… in GenerateIndexFields()
479 RETURN_IF_NOT_OK(GetValueByField(field.second, schema_detail[field.first], &field_val_ptr)); in GenerateIndexFields()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/
Dshard_index_generator.h95 …Status GenerateIndexFields(const std::vector<json> &schema_detail, std::shared_ptr<INDEX_FIELDS> *…
105 Status AddIndexFieldByRawData(const std::vector<json> &schema_detail,