parent
9db2e82879
commit
ad02244863
|
@ -1,3 +1,9 @@
|
|||
## v0.9.1 [unreleased]
|
||||
|
||||
### Bugfixes
|
||||
|
||||
- [#2908](https://github.com/influxdb/influxdb/issues/2908): Field mismatch error messages need to be updated
|
||||
|
||||
## v0.9.0 [2015-06-11]
|
||||
|
||||
### Bugfixes
|
||||
|
|
|
@ -51,6 +51,24 @@ func InspectDataType(v interface{}) DataType {
|
|||
}
|
||||
}
|
||||
|
||||
func (d DataType) String() string {
|
||||
switch d {
|
||||
case Float:
|
||||
return "float"
|
||||
case Integer:
|
||||
return "integer"
|
||||
case Boolean:
|
||||
return "boolean"
|
||||
case String:
|
||||
return "string"
|
||||
case Time:
|
||||
return "time"
|
||||
case Duration:
|
||||
return "duration"
|
||||
}
|
||||
return "unknown"
|
||||
}
|
||||
|
||||
// Node represents a node in the InfluxDB abstract syntax tree.
|
||||
type Node interface {
|
||||
node()
|
||||
|
|
Loading…
Reference in New Issue