From 7246aa6f48de9f25c18c58dd8ae1391a2314dfa1 Mon Sep 17 00:00:00 2001 From: yun Date: Wed, 16 Oct 2024 01:45:11 -0700 Subject: [PATCH] (bugfix) proton.yml: remove order by in the incremental_select i do not know why we need this one, this sorting run out of my memory --- core/dbio/templates/proton.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dbio/templates/proton.yaml b/core/dbio/templates/proton.yaml index 47ad77083..9c5b68c7e 100755 --- a/core/dbio/templates/proton.yaml +++ b/core/dbio/templates/proton.yaml @@ -8,7 +8,7 @@ core: modify_column: "{column} {type}" update: alter stream {table} update {set_fields} where {pk_fields_equal} insert_from_table: insert into {tgt_table} ({tgt_fields}) select {src_fields} from table({src_table}) - incremental_select: select {fields} from table({table}) where {incremental_where_cond} order by {update_key} asc + incremental_select: select {fields} from table({table}) where {incremental_where_cond} limit: select {fields} from table({table}) limit {limit} limit_offset: select {fields} from table({table}) limit {limit} offset {offset}