From 50b64bbe4965a28fcb7417fc80902d553859ad0e Mon Sep 17 00:00:00 2001 From: Ruihang Xia Date: Wed, 15 Apr 2026 12:13:12 +0800 Subject: [PATCH] test: normalize standalone tql explain repartition output --- .../cases/standalone/common/tql-explain-analyze/explain.result | 3 ++- tests/cases/standalone/common/tql-explain-analyze/explain.sql | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/cases/standalone/common/tql-explain-analyze/explain.result b/tests/cases/standalone/common/tql-explain-analyze/explain.result index 935d16c95a..29f3dbf1b3 100644 --- a/tests/cases/standalone/common/tql-explain-analyze/explain.result +++ b/tests/cases/standalone/common/tql-explain-analyze/explain.result @@ -371,6 +371,7 @@ Affected Rows: 3 -- explain at 0s, 5s and 10s for a nanosecond time index. -- SQLNESS REPLACE (RoundRobinBatch.*) REDACTED -- SQLNESS REPLACE (peers.*) REDACTED +-- SQLNESS REPLACE (RepartitionExec:.*) RepartitionExec: REDACTED TQL EXPLAIN (0, 10, '5s') test_nano; +---------------+-----------------------------------------------------------------------------------------------------------------------------------+ @@ -389,7 +390,7 @@ TQL EXPLAIN (0, 10, '5s') test_nano; | physical_plan | PromInstantManipulateExec: range=[0..10000], lookback=[300000], interval=[5000], time index=[j] | | | PromSeriesDivideExec: tags=["k"] | | | SortExec: expr=[k@1 ASC, j@2 ASC], preserve_partitioning=[true] | -| | RepartitionExec: partitioning=Hash([k@1], 32), input_partitions=32 | +| | RepartitionExec: REDACTED | | ProjectionExec: expr=[i@0 as i, k@2 as k, CAST(j@1 AS Timestamp(ms)) as j] | | | FilterExec: __common_expr_3@0 >= -299999 AND __common_expr_3@0 <= 10000, projection=[i@1, j@2, k@3] | | | ProjectionExec: expr=[CAST(j@1 AS Timestamp(ms)) as __common_expr_3, i@0 as i, j@1 as j, k@2 as k] | diff --git a/tests/cases/standalone/common/tql-explain-analyze/explain.sql b/tests/cases/standalone/common/tql-explain-analyze/explain.sql index 8750cf58b2..62685b0952 100644 --- a/tests/cases/standalone/common/tql-explain-analyze/explain.sql +++ b/tests/cases/standalone/common/tql-explain-analyze/explain.sql @@ -44,6 +44,7 @@ INSERT INTO test_nano VALUES (1, 1000000, "a"), (1, 1000000, "b"), (2, 2000000, -- explain at 0s, 5s and 10s for a nanosecond time index. -- SQLNESS REPLACE (RoundRobinBatch.*) REDACTED -- SQLNESS REPLACE (peers.*) REDACTED +-- SQLNESS REPLACE (RepartitionExec:.*) RepartitionExec: REDACTED TQL EXPLAIN (0, 10, '5s') test_nano; -- explain verbose at 0s, 5s and 10s for a nanosecond time index.