Merge pull request #4096 from influxdata/feat/dar-303-hourselection-improvement
fix: add location parameter to hourSelection()pull/4116/head
commit
b82d35baf5
|
@ -23,6 +23,7 @@ The `hourSelection()` function retains all rows with time values in a specified
|
||||||
hourSelection(
|
hourSelection(
|
||||||
start: 9,
|
start: 9,
|
||||||
stop: 17,
|
stop: 17,
|
||||||
|
location: {offset: 0h, zone: "UTC"},
|
||||||
timeColumn: "_time",
|
timeColumn: "_time",
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
@ -39,6 +40,10 @@ Hours range from `[0-23]`.
|
||||||
The last hour of the hour range (inclusive).
|
The last hour of the hour range (inclusive).
|
||||||
Hours range from `[0-23]`.
|
Hours range from `[0-23]`.
|
||||||
|
|
||||||
|
### location {data-type="record"}
|
||||||
|
Location used to determine timezone.
|
||||||
|
Default is the [`location` option](/flux/v0.x/stdlib/universe/#location).
|
||||||
|
|
||||||
### timeColumn {data-type="string"}
|
### timeColumn {data-type="string"}
|
||||||
The column that contains the time value.
|
The column that contains the time value.
|
||||||
Default is `"_time"`.
|
Default is `"_time"`.
|
||||||
|
|
Loading…
Reference in New Issue