MCPcopy Create free account
hub / github.com/catboost/catboost / Get

Method Get

catboost/python-package/catboost/arrow.cpp:84–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 }
83
84 ESupportedArrowDataType Get(const ArrowSchema& schema) const {
85 auto* res = SimpleMapping_.FindPtr(schema.format);
86 Y_ENSURE(res, "Unsupported Arrow format: '" << schema.format << "'");
87 return *res;
88 }
89
90 private:
91 THashMap<TStringBuf, ESupportedArrowDataType> SimpleMapping_;

Calls 1

FindPtrMethod · 0.45

Tested by

no test coverage detected