Merge pull request #9398 from influxdata/js-1.3-backport-9390

Fix stddev() call to report itself as always returning a float
1.3
Jonathan A. Sternberg 2018-02-27 12:10:23 -06:00 committed by GitHub
commit c1951e1110
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
## v1.3.10 [unreleased]
### Bugfixes
- [#9386](https://github.com/influxdata/influxdb/issues/9386): Fix stddev() call to report itself as always returning a float.
## v1.3.9 [2018-01-19]
### Bugfixes

View File

@ -4689,7 +4689,7 @@ func EvalType(expr Expr, sources Sources, typmap TypeMapper) DataType {
return typ
case *Call:
switch expr.Name {
case "mean", "median", "integral":
case "mean", "median", "integral", "stddev":
return Float
case "count":
return Integer