Skip to content

Commit debae67

Browse files
fixed error message
1 parent d6575ed commit debae67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ydb/core/external_sources/object_storage.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ struct TObjectStorageExternalSource : public IExternalSource {
277277
if (type.has_optional_type() && type.optional_type().item().has_optional_type()) {
278278
issues.AddIssue(MakeErrorIssue(
279279
Ydb::StatusIds::BAD_REQUEST,
280-
TStringBuilder{} << "Double optional types are not supported for bindings (you have '"
280+
TStringBuilder{} << "Double optional types are not supported (you have '"
281281
<< column.name() << " " << NYdb::TType(column.type()).ToString() << "' field)"));
282282
}
283283
}

ydb/core/external_sources/object_storage_ut.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Y_UNIT_TEST_SUITE(ObjectStorageTest) {
6161
NKikimrExternalSources::TGeneral general;
6262
auto newColumn = schema.add_column();
6363
newColumn->mutable_type()->mutable_optional_type()->mutable_item()->mutable_optional_type()->mutable_item()->set_type_id(Ydb::Type::INT32);
64-
UNIT_ASSERT_EXCEPTION_CONTAINS(source->Pack(schema, general), NExternalSource::TExternalSourceException, "Double optional types are not supported for bindings");
64+
UNIT_ASSERT_EXCEPTION_CONTAINS(source->Pack(schema, general), NExternalSource::TExternalSourceException, "Double optional types are not supported");
6565
}
6666

6767
Y_UNIT_TEST(WildcardsValidation) {

0 commit comments

Comments
 (0)