What name would this aggregate produce in a plan?
(&self)
| 678 | |
| 679 | /// What name would this aggregate produce in a plan? |
| 680 | pub fn column_name(&self) -> &'static str { |
| 681 | match self { |
| 682 | Self::CountStar => "COUNT(*)", |
| 683 | Self::ColumnA(_) => "COUNT(a)", |
| 684 | } |
| 685 | } |
| 686 | |
| 687 | /// What is the expected count? |
| 688 | pub fn expected_count(&self) -> i64 { |