Skip to content

Commit

Permalink
Fixed PR comments ydb-platform#1
Browse files Browse the repository at this point in the history
  • Loading branch information
Alnen committed Feb 16, 2024
1 parent 0be8b51 commit 4f58d7e
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -882,12 +882,12 @@ NActors::IActor* MakeModifyBindingActor(
auto oldTableName = request->Get()->OldBindingContent->name();

bool replaceSupported = computeConfig.IsReplaceIfExistsSyntaxSupported();
if (replaceSupported &&
oldTableName == request->Get()->Request.content().name()) {
// CREATE OR REPLACE
return {TSchemaQueryTask{.SQL = MakeCreateExternalDataTableQuery(
request->Get()->Request.content(),
sourceName, replaceSupported)}};
if (replaceSupported && oldTableName == request->Get()->Request.content().name()) {
// CREATE OR REPLACE
return {TSchemaQueryTask{
.SQL = MakeCreateExternalDataTableQuery(request->Get()->Request.content(),
sourceName,
replaceSupported)}};
}

// remove and create new version
Expand Down

0 comments on commit 4f58d7e

Please sign in to comment.