Skip to content

Commit 7f1719d

Browse files
authored
chore(docs): fix typo and example in aggregateWindow (#5122)
* chore(docs): fix typo and example in aggregateWindow * chore(docs): update default value of aggregateWindow createEmpty
1 parent c849fbd commit 7f1719d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libflux/go/libflux/buildinfo.gen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ var sourceHashes = map[string]string{
608608
"stdlib/universe/union_heterogeneous_test.flux": "7d8b47b3e96b859a5fed5985c051e2a3fdc947d3d6ff9cc104e40821581fb0cb",
609609
"stdlib/universe/union_test.flux": "f008260d48db70212ce64d3f51f4cf031532a9a67c1ba43242dbc4d43ef31293",
610610
"stdlib/universe/unique_test.flux": "2471d3a7aa6aac3e18def5736dc2352ae59e160edf033d3ceffe8fc91fe6492f",
611-
"stdlib/universe/universe.flux": "e097972d87839974adbb6b86585b592343049f9a71b78a1b9141fc8748e4b742",
611+
"stdlib/universe/universe.flux": "1e9d883758dfa1ba4ced1d46ba84c1207013fac13a2e92106d17c8b5167b3cc5",
612612
"stdlib/universe/universe_truncateTimeColumn_test.flux": "8acb700c612e9eba87c0525b33fd1f0528e6139cc912ed844932caef25d37b56",
613613
"stdlib/universe/window_aggregate_test.flux": "c8f66f7ee188bb2e979e5a8b526057b653922197ae441658f7c7f11251c96576",
614614
"stdlib/universe/window_default_start_align_test.flux": "0aaf612796fbb5ac421579151ad32a8861f4494a314ea615d0ccedd18067b980",

stdlib/universe/universe.flux

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3744,14 +3744,14 @@ _fillEmpty = (tables=<-, createEmpty) =>
37443744
//
37453745
// `offset` can be negative, indicating that the offset goes backwards in time.
37463746
//
3747-
// - fn: Aggreate or selector function to apply to each time window.
3747+
// - fn: Aggregate or selector function to apply to each time window.
37483748
// - location: Location used to determine timezone. Default is the `location` option.
37493749
// - column: Column to operate on.
37503750
// - timeSrc: Column to use as the source of the new time value for aggregate values.
37513751
// Default is `_stop`.
37523752
// - timeDst: Column to store time values for aggregate values in.
37533753
// Default is `_time`.
3754-
// - createEmpty: Create empty tables for empty window. Default is `false`.
3754+
// - createEmpty: Create empty tables for empty window. Default is `true`.
37553755
//
37563756
// **Note:** When using `createEmpty: true`, aggregate functions return empty
37573757
// tables, but selector functions do not. By design, selectors drop empty tables.
@@ -3819,7 +3819,7 @@ _fillEmpty = (tables=<-, createEmpty) =>
38193819
// | Saturday | 2d |
38203820
// | Sunday | 3d |
38213821
//
3822-
// ```js
3822+
// ```
38233823
// # import "array"
38243824
// #
38253825
// # data =

0 commit comments

Comments
 (0)