From bcd5c098ec7cad585c1ca00dd99b655c19fbc467 Mon Sep 17 00:00:00 2001 From: Russ Savage Date: Wed, 1 May 2019 10:33:23 -0700 Subject: [PATCH 1/2] fixing window example --- ui/src/shared/constants/fluxFunctions.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/src/shared/constants/fluxFunctions.ts b/ui/src/shared/constants/fluxFunctions.ts index 3fb2991f4ee..79c46ded3fd 100644 --- a/ui/src/shared/constants/fluxFunctions.ts +++ b/ui/src/shared/constants/fluxFunctions.ts @@ -3166,18 +3166,18 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [ type: 'Function', }, { - name: 'timeCol', + name: 'timeColumn', desc: 'The column containing time. Defaults to `"_time"`.', type: 'String', }, { - name: 'startCol', + name: 'startColumn', desc: 'The column containing the window start time. Defaults to `"_start"`.', type: 'String', }, { - name: 'stopCol', + name: 'stopColumn', desc: 'The column containing the window stop time. Defaults to `"_stop"`.', type: 'String', @@ -3187,7 +3187,7 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [ desc: 'Groups records based on a time value. New columns are added to uniquely identify each window. Those columns are added to the group key of the output tables. A single input record will be placed into zero or more output tables, depending on the specific windowing function.', example: - 'window(every: 5m, period: 5m, offset: 12h, timeCol: "_time", startCol: "_start", stopCol: "_stop")', + 'window(every: 5m, period: 5m, offset: 12h, timeColumn: "_time", startColumn: "_start", stopColumn: "_stop")', category: 'Transformations', link: 'https://v2.docs.influxdata.com/v2.0/reference/flux/functions/built-in/transformations/window/', From 1bd2e5aea5c2981771f3532e3524b17c60af313b Mon Sep 17 00:00:00 2001 From: Russ Savage Date: Wed, 1 May 2019 10:37:48 -0700 Subject: [PATCH 2/2] updating changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae8c06bff68..913742b01a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ 1. [13618](https://github.com/influxdata/influxdb/pull/13618): Show error message when adding line protocol 1. [13657](https://github.com/influxdata/influxdb/pull/13657): Update UI Flux function documentation 1. [13718](https://github.com/influxdata/influxdb/pull/13718): Updated System template to support math with floats +1. [13732](https://github.com/influxdata/influxdb/pull/13732): Fixed the window function documentation ### UI Improvements 1. [13424](https://github.com/influxdata/influxdb/pull/13424): Add general polish and empty states to Create Dashboard from Template overlay