Rollback: r4238276
Result revision: None
[][] [diff-resolver:danlark]
Sandbox task:
Task author: danlark@
Description: rollback
Note: mandatory check (NEED_CHECK) was skipped
#include <catboost/libs/helpers/exception.h>
#include <util/string/split.h>
-#include <util/string/iterator.h>
ui32 TPoolColumnsMetaInfo::CountColumns(const EColumn columnType) const {
return CountIf(
@@ -93,7 +92,7 @@ TVector<TString> TPoolColumnsMetaInfo::GenerateFeatureIds(const TMaybe<TString>&
}
} else if (header.Defined()) {
TVector<TStringBuf> words;
- StringSplitter(*header).Split(fieldDelimiter).AddTo(&words);
+ SplitRangeTo<const char, TVector<TStringBuf>>(~(*header), ~(*header) + header->size(), fieldDelimiter, &words);
for (int i = 0; i < words.ysize(); ++i) {
if (Columns[i].Type == EColumn::Categ || Columns[i].Type == EColumn::Num) {
featureIds.push_back(ToString(words[i]));
