mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-25 23:49:58 +00:00
fix(sqlness): redact all volatile text (#4583)
Commit Message: Add SQLNESS replacements for RoundRobinBatch and region patterns
This commit is contained in:
@@ -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_|
|
||||
+-+-+-+
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user