This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 4e57f45d8e [fix](partial-update) sequence column not updated if using
function_column.sequence_type (#22250)
4e57f45d8e is described below
commit 4e57f45d8e7cd3cfbe8279aef5578a0dad17f1be
Author: zhannngchen <[email protected]>
AuthorDate: Wed Jul 26 18:22:43 2023 +0800
[fix](partial-update) sequence column not updated if using
function_column.sequence_type (#22250)
---
.../src/main/java/org/apache/doris/planner/StreamLoadPlanner.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/planner/StreamLoadPlanner.java
b/fe/fe-core/src/main/java/org/apache/doris/planner/StreamLoadPlanner.java
index 8474703bee..40d5b99f34 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/planner/StreamLoadPlanner.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/planner/StreamLoadPlanner.java
@@ -158,8 +158,9 @@ public class StreamLoadPlanner {
+ col.getName());
}
partialUpdateInputColumns.add(col.getName());
- if (destTable.hasSequenceCol() &&
destTable.getSequenceMapCol() != null
- &&
destTable.getSequenceMapCol().equalsIgnoreCase(col.getName())) {
+ if (destTable.hasSequenceCol() &&
(taskInfo.hasSequenceCol() || (
+ destTable.getSequenceMapCol() != null
+ &&
destTable.getSequenceMapCol().equalsIgnoreCase(col.getName())))) {
partialUpdateInputColumns.add(Column.SEQUENCE_COL);
}
existInExpr = true;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]