Skip to content

Commit

Permalink
[fix](regression) fix flaky partial update cases (#42908)
Browse files Browse the repository at this point in the history
## Proposed changes

Issue Number: close #xxx

#42072 missed a case
  • Loading branch information
zhannngchen authored and Your Name committed Nov 2, 2024
1 parent 9e7a1c9 commit b226b87
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ suite('test_mix_partial_update') {
file "test_mix_partial_update_load1.csv"
time 10000 // limit inflight 10s
}
sql "sync"
// sql "insert into ${tableInsertName1} values(1,1,1,1,1),(1,1,1,1,10),(2,2,2,2,2),(3,3,3,3,3)"
// 1,1,1,1,10
// 2,2,2,2,2
Expand All @@ -134,6 +135,7 @@ suite('test_mix_partial_update') {
file "test_mix_partial_update_load2.csv"
time 10000 // limit inflight 10s
}
sql "sync"
//sql "insert into ${tableStreamName1} (k1,c1,c2,c3,seq,__DORIS_DELETE_SIGN__) values(1,10,null,10,10,1)"
// 2,2,2,2,2
// 3,3,3,3,3
Expand All @@ -149,6 +151,7 @@ suite('test_mix_partial_update') {
file "test_mix_partial_update_load3.csv"
time 10000 // limit inflight 10s
}
sql "sync"
//sql "insert into ${tableStreamName1} (k1,c1,c2,c3,seq,__DORIS_DELETE_SIGN__) values(1,10,null,10,20,1)"
// 2,2,2,2,2
// 3,3,3,3,3
Expand All @@ -164,6 +167,7 @@ suite('test_mix_partial_update') {
file "test_mix_partial_update_load4.csv"
time 10000 // limit inflight 10s
}
sql "sync"
//sql "insert into ${tableStreamName1} (k1,c1,c2,c3,seq,__DORIS_DELETE_SIGN__) values(1,10,null,10,1,0)"
// 1,10,null,10,1
// 2,2,2,2,2
Expand All @@ -184,6 +188,7 @@ suite('test_mix_partial_update') {
file "test_mix_partial_update_load5.csv"
time 10000 // limit inflight 10s
}
sql "sync"
//sql "set enable_unique_key_partial_update=true;"
//sql "set enable_insert_strict=false;"
//sql "insert into ${tableStreamName1} (k1,seq) values(2,1)"
Expand All @@ -200,6 +205,7 @@ suite('test_mix_partial_update') {
file "test_mix_partial_update_load6.csv"
time 10000 // limit inflight 10s
}
sql "sync"
//sql "set enable_unique_key_partial_update=true;"
//sql "set enable_insert_strict=false;"
// sql "insert into ${tableStreamName1} (k1,seq,__DORIS_DELETE_SIGN__) values(3,1,1)"
Expand All @@ -214,6 +220,7 @@ suite('test_mix_partial_update') {
file "test_mix_partial_update_load7.csv"
time 10000 // limit inflight 10s
}
sql "sync"
// sql "insert into ${tableStreamName1} values(4,4,4,4,4)"
// 2,2,2,2,1
// 3,3,3,3,3
Expand Down Expand Up @@ -316,6 +323,7 @@ suite('test_mix_partial_update') {
file "test_mix_partial_update_load_A.csv"
time 10000 // limit inflight 10s
}
sql "sync"
qt_select_A "select k1,c2,c3,c4 from ${tableStreamName2}"
qt_select_AA "select count(distinct c1) from ${tableStreamName2}"
qt_select_AAA "select count(*) from ${tableStreamName2} where c5 = c6"
Expand All @@ -330,6 +338,7 @@ suite('test_mix_partial_update') {
file "test_mix_partial_update_load_B.csv"
time 10000 // limit inflight 10s
}
sql "sync"
qt_select_B "select k1,c2,c3,c4 from ${tableStreamName2}"
qt_select_BB "select count(distinct c1) from ${tableStreamName2}"
qt_select_BBB "select count(*) from ${tableStreamName2} where c5 = c6"
Expand All @@ -354,6 +363,7 @@ suite('test_mix_partial_update') {
file "test_mix_partial_update_load_C.csv"
time 10000 // limit inflight 10s
}
sql "sync"
qt_select_D "select k1,c2,c3,c4 from ${tableStreamName2}"
qt_select_DD "select count(distinct c1) from ${tableStreamName2}"
qt_select_DDD "select count(*) from ${tableStreamName2} where c5 = c7"
Expand All @@ -373,6 +383,7 @@ suite('test_mix_partial_update') {
file "test_mix_partial_update_load_D.csv"
time 10000 // limit inflight 10s
}
sql "sync"
qt_select_E "select k1,c2,c3,c4 from ${tableStreamName2}"
qt_select_EE "select count(distinct c1) from ${tableStreamName2}"
qt_select_EEE "select count(*) from ${tableStreamName2} where c5 = c7"
Expand Down

0 comments on commit b226b87

Please sign in to comment.