Skip to content

Commit

Permalink
fix: global update use row ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
cyz-2023 committed Nov 6, 2024
1 parent e432aff commit 25b29ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/physical_plan/separate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,9 @@ int Separate::separate_update(QueryContext* ctx) {
if (ret < 0) {
return -1;
}
if (ctx->row_ttl_duration > 0) {
_row_ttl_duration = ctx->row_ttl_duration;
}
int64_t main_table_id = update_node->table_id();
if (!need_separate_plan(ctx, main_table_id)) {
auto region_infos = static_cast<RocksdbScanNode*>(scan_nodes[0])->region_infos();
Expand Down

0 comments on commit 25b29ff

Please sign in to comment.