Skip to content

Commit

Permalink
Commit Message:
Browse files Browse the repository at this point in the history
 Add SQLNESS replacements for RoundRobinBatch and region patterns
  • Loading branch information
v0y4g3r committed Aug 19, 2024
1 parent 8036b44 commit 54f930a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
24 changes: 14 additions & 10 deletions tests/cases/distributed/explain/analyze_append_table_count.result
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,21 @@ WITH(
Affected Rows: 0

-- SQLNESS REPLACE (metrics.*) REDACTED
-- SQLNESS REPLACE (RoundRobinBatch.*) REDACTED
-- SQLNESS REPLACE (-+) -
-- SQLNESS REPLACE (\s\s+) _
-- SQLNESS REPLACE (peers.*) REDACTED
-- SQLNESS REPLACE region=\d+\(\d+,\s+\d+\) region=REDACTED
EXPLAIN ANALYZE SELECT count(*) FROM test_table;

+-------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| stage | node | plan |
+-------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 0 | 0 | MergeScanExec: REDACTED
| | | |
| 1 | 0 | ProjectionExec: expr=[0 as COUNT(test_table.timestamp)] REDACTED
| | | common_recordbatch::adapter::MetricCollector REDACTED
| | | |
| | | Total rows: 1 |
+-------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+-+-+-+
| stage | node | plan_|
+-+-+-+
| 0_| 0_|_MergeScanExec: REDACTED
|_|_|_|
| 1_| 0_|_ProjectionExec: expr=[0 as COUNT(test_table.timestamp)] REDACTED
|_|_|_common_recordbatch::adapter::MetricCollector REDACTED
|_|_|_|
|_|_| Total rows: 1_|
+-+-+-+

Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@ WITH(
);

-- SQLNESS REPLACE (metrics.*) REDACTED
-- SQLNESS REPLACE (RoundRobinBatch.*) REDACTED
-- SQLNESS REPLACE (-+) -
-- SQLNESS REPLACE (\s\s+) _
-- SQLNESS REPLACE (peers.*) REDACTED
-- SQLNESS REPLACE region=\d+\(\d+,\s+\d+\) region=REDACTED
EXPLAIN ANALYZE SELECT count(*) FROM test_table;

0 comments on commit 54f930a

Please sign in to comment.