Skip to content

Commit

Permalink
Enable update for oltp sink (#6393)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikvas0 committed Jul 19, 2024
1 parent 10e0043 commit 071e0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/kqp/opt/physical/effects/kqp_opt_phy_update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ TExprBase KqpBuildUpdateStages(TExprBase node, TExprContext& ctx, const TKqpOpti

const auto& table = kqpCtx.Tables->ExistingTable(kqpCtx.Cluster, update.Table().Path());

const bool isSink = NeedSinks(table, kqpCtx) && table.Metadata->Kind == EKikimrTableKind::Olap;
const bool isSink = NeedSinks(table, kqpCtx);
const bool needPrecompute = !isSink;

if (needPrecompute) {
Expand Down

0 comments on commit 071e0b9

Please sign in to comment.