You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UNIT_ASSERT_STRING_CONTAINS(result.GetIssues().ToString(), "External data sources are disabled for serverless domains. Please contact your system administrator to enable it");
4876
+
};
4877
+
4878
+
auto checkNotFound = [](constauto& result, NYdb::EStatus status) {
Copy file name to clipboardExpand all lines: ydb/core/tx/schemeshard/schemeshard__operation_alter_external_data_source.cpp
+7
Original file line number
Diff line number
Diff line change
@@ -213,6 +213,13 @@ class TAlterExternalDataSource : public TSubOperation {
213
213
static_cast<ui64>(OperationId.GetTxId()),
214
214
static_cast<ui64>(ssId));
215
215
216
+
if (context.SS->IsServerlessDomain(TPath::Init(context.SS->RootPathId(), context.SS))) {
217
+
if (!context.SS->EnableExternalDataSourcesOnServerless) {
218
+
result->SetError(NKikimrScheme::StatusPreconditionFailed, "External data sources are disabled for serverless domains. Please contact your system administrator to enable it");
Copy file name to clipboardExpand all lines: ydb/core/tx/schemeshard/schemeshard__operation_alter_external_table.cpp
+7
Original file line number
Diff line number
Diff line change
@@ -308,6 +308,13 @@ class TAlterExternalTable: public TSubOperation {
308
308
static_cast<ui64>(OperationId.GetTxId()),
309
309
static_cast<ui64>(ssId));
310
310
311
+
if (context.SS->IsServerlessDomain(TPath::Init(context.SS->RootPathId(), context.SS))) {
312
+
if (!context.SS->EnableExternalDataSourcesOnServerless) {
313
+
result->SetError(NKikimrScheme::StatusPreconditionFailed, "External data sources are disabled for serverless domains. Please contact your system administrator to enable it");
Copy file name to clipboardExpand all lines: ydb/core/tx/schemeshard/schemeshard__operation_create_external_data_source.cpp
+7
Original file line number
Diff line number
Diff line change
@@ -239,6 +239,13 @@ class TCreateExternalDataSource : public TSubOperation {
239
239
static_cast<ui64>(OperationId.GetTxId()),
240
240
static_cast<ui64>(ssId));
241
241
242
+
if (context.SS->IsServerlessDomain(TPath::Init(context.SS->RootPathId(), context.SS))) {
243
+
if (!context.SS->EnableExternalDataSourcesOnServerless) {
244
+
result->SetError(NKikimrScheme::StatusPreconditionFailed, "External data sources are disabled for serverless domains. Please contact your system administrator to enable it");
Copy file name to clipboardExpand all lines: ydb/core/tx/schemeshard/schemeshard__operation_create_external_table.cpp
+7
Original file line number
Diff line number
Diff line change
@@ -308,6 +308,13 @@ class TCreateExternalTable: public TSubOperation {
308
308
static_cast<ui64>(OperationId.GetTxId()),
309
309
static_cast<ui64>(ssId));
310
310
311
+
if (context.SS->IsServerlessDomain(TPath::Init(context.SS->RootPathId(), context.SS))) {
312
+
if (!context.SS->EnableExternalDataSourcesOnServerless) {
313
+
result->SetError(NKikimrScheme::StatusPreconditionFailed, "External data sources are disabled for serverless domains. Please contact your system administrator to enable it");
0 commit comments