Home
last modified time | relevance | path

Searched refs:TakeFieldType (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/tests/ut/cpp/mindrecord/
Dut_shard_index_generator_test.cc56 TEST_F(TestShardIndexGenerator, TakeFieldType) { in TEST_F() argument
72 auto type1 = ShardIndexGenerator::TakeFieldType("number", schema1); in TEST_F()
74 auto type2 = ShardIndexGenerator::TakeFieldType("street_name", schema1); in TEST_F()
76 auto type3 = ShardIndexGenerator::TakeFieldType("street_type", schema1); in TEST_F()
79 auto type4 = ShardIndexGenerator::TakeFieldType("name", schema2); in TEST_F()
81 auto type5 = ShardIndexGenerator::TakeFieldType("label", schema2); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/
Dshard_index_generator.h56 static std::string TakeFieldType(const std::string &field_path, json schema);
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_index_generator.cc82 std::string ShardIndexGenerator::TakeFieldType(const string &field_path, json schema) { in TakeFieldType() function in mindspore::mindrecord::ShardIndexGenerator
249 std::string type = ConvertJsonToSQL(TakeFieldType(field.second, json_schema)); in CreateDatabase()
482 …std::string field_type = ConvertJsonToSQL(TakeFieldType(field.second, schema_ptr->GetSchema()["sch… in GenerateIndexFields()