File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -268,8 +268,7 @@ impl DisplayAs for LocalLimitExec {
268268 write ! ( f, "LocalLimitExec: fetch={}" , self . fetch)
269269 }
270270 DisplayFormatType :: TreeRender => {
271- // TODO: collect info
272- write ! ( f, "" )
271+ write ! ( f, "limit={}" , self . fetch)
273272 }
274273 }
275274 }
Original file line number Diff line number Diff line change @@ -133,6 +133,11 @@ AS SELECT
133133FROM
134134 hashjoin_datatype_table_t2_source
135135
136+ statement ok
137+ CREATE TABLE limit_table AS
138+ SELECT * FROM table1
139+ UNION ALL SELECT * FROM table1
140+
136141######## Begin Queries ########
137142
138143# Filter
@@ -246,6 +251,21 @@ physical_plan
24625111)│ format: csv │
24725212)└───────────────────────────┘
248253
254+ query TT
255+ explain SELECT * FROM limit_table LIMIT 10;
256+ ----
257+ physical_plan
258+ 01)┌───────────────────────────┐
259+ 02)│ CoalescePartitionsExec │
260+ 03)└─────────────┬─────────────┘
261+ 04)┌─────────────┴─────────────┐
262+ 05)│ DataSourceExec │
263+ 06)│ -------------------- │
264+ 07)│ bytes: 3120 │
265+ 08)│ format: memory │
266+ 09)│ rows: 2 │
267+ 10)└───────────────────────────┘
268+
249269# 2 Joins
250270query TT
251271explain SELECT table1.string_col, table2.date_col FROM table1 JOIN table2 ON table1.int_col = table2.int_col;
You can’t perform that action at this time.
0 commit comments