We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b826e3d commit d87c2b3Copy full SHA for d87c2b3
optd-cost-model/src/cost/agg.rs
@@ -37,7 +37,7 @@ impl<S: CostModelStorageLayer> CostModelImpl<S> {
37
let table_id = attr_ref.table_id();
38
let attr_idx = attr_ref.attr_index();
39
let stats_option =
40
- self.get_attribute_comb_stats(TableId(table_id), &vec![attr_idx])?;
+ self.get_attribute_comb_stats(TableId(table_id), &[attr_idx])?;
41
42
let ndistinct = match stats_option {
43
Some(stats) => stats.ndistinct,
0 commit comments