Skip to content

Commit 7d999d9

Browse files
committed
[test](regression) Update IVM drop column expected output
### What problem does this PR solve? Issue Number: close apache#27313 Related PR: apache#28 Problem Summary: Regenerate the IVM DROP COLUMN regression output after updating the case to expect successful incremental refreshes. Check task status without exposing the tasks table null sentinel in the expected output. ### Release note None ### Check List (For Author) - Test: Regression test - ./run-regression-test.sh --run -f regression-test/suites/mtmv_p0/ivm/test_ivm_drop_column_fallback_reason.groovy - Behavior changed: No - Does this need documentation: No
1 parent cadc1e0 commit 7d999d9

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

‎regression-test/data/mtmv_p0/ivm/test_ivm_drop_column_fallback_reason.out‎

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,20 @@
33
1 10
44
2 20
55

6-
-- !strict_task --
7-
FAILED \\N BINLOG_BROKEN
6+
-- !after_drop_column_task --
7+
SUCCESS
88

9-
-- !fallback_task --
10-
SUCCESS COMPLETE BINLOG_BROKEN
11-
12-
-- !rows_after_fallback --
9+
-- !rows_after_drop_column --
1310
1 10
1411
2 20
1512
3 30
1613

17-
-- !recovered_task --
18-
SUCCESS \\N
14+
-- !following_incremental_task --
15+
SUCCESS
1916

20-
-- !rows_after_recovered_incremental --
17+
-- !rows_after_following_incremental --
2118
1 10
2219
2 20
2320
3 30
2421
4 40
22+

‎regression-test/suites/mtmv_p0/ivm/test_ivm_drop_column_fallback_reason.groovy‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ suite("test_ivm_drop_column_fallback_reason", "nonConcurrent") {
8888
sql """REFRESH MATERIALIZED VIEW ivm_drop_col_reason_mv INCREMENTAL"""
8989
taskId = waitForNewTask(taskId)
9090
order_qt_after_drop_column_task """
91-
SELECT Status, IFNULL(IvmFallbackReason, 'NONE')
91+
SELECT Status
9292
FROM tasks('type'='mv') WHERE TaskId = '${taskId}'
9393
ORDER BY TaskId
9494
"""
@@ -100,7 +100,7 @@ suite("test_ivm_drop_column_fallback_reason", "nonConcurrent") {
100100
sql """REFRESH MATERIALIZED VIEW ivm_drop_col_reason_mv INCREMENTAL"""
101101
taskId = waitForNewTask(taskId)
102102
order_qt_following_incremental_task """
103-
SELECT Status, IFNULL(IvmFallbackReason, 'NONE')
103+
SELECT Status
104104
FROM tasks('type'='mv') WHERE TaskId = '${taskId}'
105105
ORDER BY TaskId
106106
"""

0 commit comments

Comments
 (0)