influxdb/models
Jacob Marble 44c5da060b buildtsi: Do not escape measurement names
When `influx_inspect buildtsi` is used to create a new `tsi1` index, spaces in measurement names are escaped, so measurement "a b" is changed to "a\ b".

This change modifies `models.ParseKeyBytes()` and `models.ParseName()` to unescape measurement names. `models.ParseKeyBytes()` returns unescaped tag keys, so this seems like the natural place to unescape measurement names.

Also followed `scanMeasurement()` to see what other code could be problematic, and this should be everything (the result of one other use of `scanMeasurement()` is later escaped).

Removed `tsdb.MeasurementFromSeriesKey()`. These methods are exported, so checked for side effects in other InfluxData repositories.
2018-05-30 15:20:56 -07:00
..
consistency.go Update godoc for package models 2016-12-30 18:02:52 -08:00
inline_fnv.go Update godoc for package models 2016-12-30 18:02:52 -08:00
inline_fnv_test.go Implement and use zero-alloc FNV64a. 2016-09-26 11:43:27 -07:00
inline_strconv_parse.go Taught tsm1 storage engine how to read and write uint64 values 2017-07-24 09:03:22 -07:00
inline_strconv_parse_test.go models: Add FieldIterator type 2016-10-03 16:30:21 -06:00
points.go buildtsi: Do not escape measurement names 2018-05-30 15:20:56 -07:00
points_internal_test.go Add test for marshalling a point without fields 2016-12-28 12:09:30 -08:00
points_test.go buildtsi: Do not escape measurement names 2018-05-30 15:20:56 -07:00
rows.go Update godoc for package models 2016-12-30 18:02:52 -08:00
statistic.go Update godoc for package models 2016-12-30 18:02:52 -08:00
statistic_test.go Ensure we don't mutate provided statistics tags 2016-08-24 11:40:13 +01:00
time.go Support negative timestamps in the query engine 2016-08-25 12:52:41 -05:00
uint_support.go Add uint support into the write protocol 2017-09-19 10:44:26 -05:00