Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing window example #13732

Merged
merged 2 commits into from
May 1, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ui/src/shared/constants/fluxFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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/',
Expand Down