fix: apply sqlness replacement to inspect explain

Signed-off-by: jeremyhi <fengjiachun@gmail.com>
This commit is contained in:
jeremyhi
2026-07-10 12:21:23 +08:00
parent b854c9d095
commit 60619e73e2
2 changed files with 3 additions and 4 deletions
@@ -1,4 +1,3 @@
-- SQLNESS REPLACE (RoundRobinBatch\(\d+\)) RoundRobinBatch(REDACTED)
CREATE TABLE ssts_limit_case (
a INT PRIMARY KEY INVERTED INDEX,
b STRING SKIPPING INDEX,
@@ -64,6 +63,7 @@ FROM (
| 1 |
+-----------------------+
-- SQLNESS REPLACE (RoundRobinBatch\(\d+\)) RoundRobinBatch(REDACTED)
EXPLAIN SELECT COUNT(*) AS filtered_limited_rows
FROM (
SELECT region_id
@@ -89,7 +89,7 @@ FROM (
| | AggregateExec: mode=Partial, gby=[], aggr=[count(Int64(1))] |
| | CoalescePartitionsExec: fetch=1 |
| | FilterExec: table_id@0 > 0, projection=[], fetch=1 |
| | RepartitionExec: partitioning=RoundRobinBatch(10), input_partitions=1 |
| | RepartitionExec: partitioning=RoundRobinBatch(REDACTED), input_partitions=1 |
| | DistributedInspectExec: kind=SstManifest, scan=ScanRequest { projection: ProjectionInput { projection: [2], nested_paths: [] }, filters: [table_id > UInt32(0)] }, schema=Schema { fields: [Field { name: "table_id", data_type: UInt32 }], metadata: {"greptime:version": "0"} } |
| | |
+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -1,5 +1,3 @@
-- SQLNESS REPLACE (RoundRobinBatch\(\d+\)) RoundRobinBatch(REDACTED)
CREATE TABLE ssts_limit_case (
a INT PRIMARY KEY INVERTED INDEX,
b STRING SKIPPING INDEX,
@@ -37,6 +35,7 @@ FROM (
LIMIT 1
);
-- SQLNESS REPLACE (RoundRobinBatch\(\d+\)) RoundRobinBatch(REDACTED)
EXPLAIN SELECT COUNT(*) AS filtered_limited_rows
FROM (
SELECT region_id