From 3d0a2b34f4260876bfaf0d0aa7b49fb013aed3a4 Mon Sep 17 00:00:00 2001 From: jeremyhi Date: Fri, 10 Jul 2026 13:16:34 +0800 Subject: [PATCH] fix: redact inspect repartition plan Signed-off-by: jeremyhi --- tests/cases/distributed/information_schema/ssts_limit.result | 4 ++-- tests/cases/distributed/information_schema/ssts_limit.sql | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cases/distributed/information_schema/ssts_limit.result b/tests/cases/distributed/information_schema/ssts_limit.result index 91789bb9d94..0b64a3c0fa0 100644 --- a/tests/cases/distributed/information_schema/ssts_limit.result +++ b/tests/cases/distributed/information_schema/ssts_limit.result @@ -63,7 +63,7 @@ FROM ( | 1 | +-----------------------+ --- SQLNESS REPLACE (RoundRobinBatch\(\d+\)) RoundRobinBatch(REDACTED) +-- SQLNESS REPLACE (RepartitionExec:.*) RepartitionExec: 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(REDACTED), input_partitions=1 | +| | RepartitionExec: REDACTED | | 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"} } | | | | +---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/tests/cases/distributed/information_schema/ssts_limit.sql b/tests/cases/distributed/information_schema/ssts_limit.sql index b9d7b2818fa..d548bd283a5 100644 --- a/tests/cases/distributed/information_schema/ssts_limit.sql +++ b/tests/cases/distributed/information_schema/ssts_limit.sql @@ -35,7 +35,7 @@ FROM ( LIMIT 1 ); --- SQLNESS REPLACE (RoundRobinBatch\(\d+\)) RoundRobinBatch(REDACTED) +-- SQLNESS REPLACE (RepartitionExec:.*) RepartitionExec: REDACTED EXPLAIN SELECT COUNT(*) AS filtered_limited_rows FROM ( SELECT region_id