mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-14 14:56:54 +00:00
fix: apply sqlness replacement to inspect explain
Signed-off-by: jeremyhi <fengjiachun@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user