From 8e6eecd504eac428f75a6a8a34bd59016012107d Mon Sep 17 00:00:00 2001 From: xudong963 Date: Thu, 28 Nov 2024 15:41:44 +0800 Subject: [PATCH] update test --- .../mode/standalone/explain/explain_cte.test | 36 ------------------- .../sqllogictests/suites/tpch/join_order.test | 2 +- 2 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 tests/sqllogictests/suites/mode/standalone/explain/explain_cte.test diff --git a/tests/sqllogictests/suites/mode/standalone/explain/explain_cte.test b/tests/sqllogictests/suites/mode/standalone/explain/explain_cte.test deleted file mode 100644 index 6a85eb0b53313..0000000000000 --- a/tests/sqllogictests/suites/mode/standalone/explain/explain_cte.test +++ /dev/null @@ -1,36 +0,0 @@ -query T -EXPLAIN WITH t AS MATERIALIZED (SELECT * FROM numbers(5)) SELECT * FROM t; ----- -MaterializedCTE -├── output columns: [number (#1)] -├── TableScan -│ ├── table: default.system.numbers -│ ├── output columns: [number (#0)] -│ ├── read rows: 5 -│ ├── read size: < 1 KiB -│ ├── partitions total: 1 -│ ├── partitions scanned: 1 -│ ├── push downs: [filters: [], limit: NONE] -│ └── estimated rows: 5.00 -└── CTEScan - ├── CTE index: 0, sub index: 1 - └── estimated rows: 5.00 - -statement ok -set enable_materialized_cte = 0; - -query T -EXPLAIN WITH t AS MATERIALIZED (SELECT * FROM numbers(5)) SELECT * FROM t; ----- -TableScan -├── table: default.system.numbers -├── output columns: [number (#0)] -├── read rows: 5 -├── read size: < 1 KiB -├── partitions total: 1 -├── partitions scanned: 1 -├── push downs: [filters: [], limit: NONE] -└── estimated rows: 5.00 - -statement ok -set enable_materialized_cte = 1; diff --git a/tests/sqllogictests/suites/tpch/join_order.test b/tests/sqllogictests/suites/tpch/join_order.test index f90d9d6a0d5da..a0906230856df 100644 --- a/tests/sqllogictests/suites/tpch/join_order.test +++ b/tests/sqllogictests/suites/tpch/join_order.test @@ -689,7 +689,7 @@ HashJoin: INNER └── Scan: default.tpch_test.supplier (#0) (read rows: 1000) # Q15 -query T +statement ok explain join with revenue as materialized ( select l_suppkey as supplier_no,