-
I found that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
> explain select count(*) from test;
+---------------+---------------------------------------------------------------+
| plan_type | plan |
+---------------+---------------------------------------------------------------+
| logical_plan | Aggregate: groupBy=[[]], aggr=[[count(Int64(1)) AS count(*)]] |
| | TableScan: test projection=[] |
Yes. One example is the datafusion/datafusion/physical-plan/src/memory.rs Lines 331 to 335 in 85f92ef |
Beta Was this translation helpful? Give feedback.
None
means that it returns all columns of the table; in other words, no projection has been pushed down.vec![]
means it returns no columns and provides only the number of rows, which is typically the case likecount(*)
.