Files
doris/regression-test/data/update/test_update_mow.out
bobhan1 2853efd4ee [fix](partial update) Fix NPE when the query statement of an update statement is a point query in OriginPlanner (#26881)
close #26882
We should not use the singleNodePlan to generate the rootPlanFragment if the query is inside a insert statement or distributedPlanner will be null.
introduced in #15491
2023-11-13 22:08:06 +08:00

41 lines
851 B
Plaintext

-- This file is automatically generated. You should know what you did if you want to edit this
-- !select_uniq_table --
1 2 1 1999-01-01
2 2 1 1999-01-01
-- !select_uniq_table --
1 2 1 1998-01-01
2 2 1 1998-01-01
-- !desc_uniq_table --
k INT Yes true \N
value1 INT Yes false \N NONE
value2 INT Yes false \N NONE
date_value DATE Yes false \N NONE
-- !complex_update --
1 10 1 1000.0 2000-01-01
2 2 2 2.0 2000-01-02
3 3 3 3.0 2000-01-03
-- !complex_update_by_alias --
1 10 1 1000.0 2000-01-01
2 20 2 2000.0 2000-01-02
3 3 3 3.0 2000-01-03
-- !sql --
a 1 2023-11-12T00:00 test1 1
b 2 2023-11-12T00:00 test2 2
c 3 2023-11-12T00:00 test3 3
-- !sql --
a 1 2023-11-12T00:00 test1 999
b 2 2023-11-12T00:00 test2 2
c 3 2023-11-12T00:00 test3 3
-- !sql --
a 1 2023-11-12T00:00 test1 999
b 2 2023-11-12T00:00 test2 2
c 3 2022-01-01T00:00 update value 3