Skip to content

Commit abc1330

Browse files
authored
fix(aggregate): modify input-output types to provide a more helpful error message (#1024)
implement #991 (comment)
1 parent f950405 commit abc1330

File tree

1 file changed

+2
-1
lines changed
  • stdlib-candidate/std-rfc/aggregate

1 file changed

+2
-1
lines changed

stdlib-candidate/std-rfc/aggregate/mod.nu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ export def main [
7171
--ops: record, # default = {min: {math min}, avg: {math avg}, max: {math max}, sum: {math sum}}
7272
...columns: cell-path, # columns to perform aggregations on
7373
]: [
74-
table -> table<count: int>
74+
table -> table<count: int>,
75+
record -> error,
7576
] {
7677
let IN = $in
7778
let md = metadata $in

0 commit comments

Comments
 (0)