Commit Graph

119 Commits (744e6a2aec91c40c534118987f5c89d911d0a4dc)

Author SHA1 Message Date
Paul Dix 08ecaabc16 Fix decodes on multiple fields. Remove debug info. Update tests to match new query engine output. 2015-03-09 11:17:36 -07:00
Paul Dix 93f3a229c6 Fix merge conflicts 2015-03-06 16:30:26 -08:00
Paul Dix df3c0099e1 WIP: wire up raw queries 2015-03-06 11:23:58 -08:00
Philip O'Toole bf55c0fc23 Explain what zero duration means for retention 2015-03-05 15:30:04 -08:00
Philip O'Toole f0c7a6b7e7 Check for LT, LTE, GT, GTE
Add relevant unit tests
2015-03-02 18:30:48 -08:00
Philip O'Toole 8196a49308 Condition is set, tests still fail 2015-03-02 15:15:58 -08:00
Paul Dix 74e6f1f4db WIP: query language refactoring compiles. mores soon 2015-03-01 22:37:09 -08:00
David Norton 0d4a8dcc2b fix #1764: panic index out of range 2015-02-27 11:53:02 -05:00
Cory LaNou 234a04553d adding better error message to return 2015-02-26 17:10:09 -07:00
Joseph Rothrock f44f707237 moved Trim()
Issue: 1729

Moved strings.Trim down to the for loop that iterates
over tag keys.
2015-02-26 13:33:28 -08:00
Joseph Rothrock 661482937f Support keys wrapped in dbl quotes
Issue: 1729

Trim off any leading or lagging dbl quotes.
2015-02-26 12:40:30 -08:00
Cory LaNou b49a1ab3c5 clarify comments 2015-02-25 12:55:58 -07:00
Cory LaNou fb2f7416ed drop shard data 2015-02-25 12:42:23 -07:00
Cory LaNou a151fe64d4 deleting data from metastore. wip 2015-02-25 12:42:23 -07:00
Paul Dix 0d05ca3e4e Merge pull request #1689 from influxdb/show_tag_values
Simple change so "SHOW TAG VALUES" is as expected
2015-02-23 23:47:56 -05:00
Philip O'Toole 149015a93c Remove field value count when writing to disk
Fixes issue #1636
2015-02-23 18:58:15 -08:00
Philip O'Toole 86b91ead94 "SHOW TAG VALUES" now outputs series per tag key
This change tightens up the type used for "Series" so the pre-existing
sort method can be used.
2015-02-23 17:15:55 -08:00
Paul Dix 89b80dcd66 WIP: insane refactor of engine. Must come back later. 2015-02-23 18:07:01 -05:00
Cory LaNou c8afd6242a deleteing a key that does not exist is ok 2015-02-21 22:29:37 -07:00
Cory LaNou 8637a10b6a start with seriesByMeasurement 2015-02-21 22:18:25 -07:00
Cory LaNou 3e94c14ef2 no need to resort 2015-02-21 21:15:14 -07:00
Cory LaNou b53d02fc05 delete correct map 2015-02-21 20:20:16 -07:00
Cory LaNou 5df9726c3b fix deleting from crazy map 2015-02-21 17:21:27 -07:00
Cory LaNou 2752ada587 moving more responsibility to database.dropSeries 2015-02-21 17:21:27 -07:00
Cory LaNou 6114c8138e refactoring drop series 2015-02-21 17:21:27 -07:00
Cory LaNou 5ab3731159 delete -> drop for series naming 2015-02-21 17:18:50 -07:00
Cory LaNou 4948b62784 first working version of drop series. more testing to come 2015-02-21 17:10:11 -07:00
Cory LaNou 6d5be3da25 wip. compiles now. tests next 2015-02-21 17:10:11 -07:00
David Norton 9bff9cdeee issue #1431: wire up regex queries 2015-02-21 15:38:35 -05:00
Philip O'Toole 4c28e63a93 Restore helpful field type conflict error message 2015-02-20 11:28:07 -08:00
Paul Dix 8fee14fbf8 Fixes based on PR feedback.
* Pull out magic numbers for running CQs in the broker
* Typo fixes in comments
* Update the process_continuous_queries endpoint to not have gzip
* Remove previous implementation of MeasurementNames in favor of new simpler one
2015-02-17 21:02:53 -05:00
Paul Dix 2d08d6e288 Fix errors after master rebase. 2015-02-17 21:01:22 -05:00
Paul Dix 5f14d5faf5 WIP: start implementation of continuous queries
* Update SelectStatement to have GroupByInterval
* Update parser to verify that CQs have GroupByInterval if Aggregated
* Implement CreateContinousQuery on Server
* Add ContinuousQueries to database
2015-02-17 21:00:24 -05:00
Philip O'Toole e82502227b Decode strings correctly with correct end index
Unit test indexing of strings.
2015-02-17 12:33:50 -08:00
Philip O'Toole ae81dff9f6 Use Field codec in debug code 2015-02-16 16:43:35 -08:00
Philip O'Toole 5f20af0023 Implement codec DecodeByID 2015-02-16 16:31:39 -08:00
Philip O'Toole 6db74aa9bb Implement codec's encode 2015-02-16 16:01:52 -08:00
Philip O'Toole dcdb4b77a1 Merge branch 'master' into support_all_value_types
Conflicts:
	database.go
	server.go
2015-02-16 09:21:10 -08:00
Philip O'Toole 75ebfaf3dd Use "create fields" broadcast message 2015-02-13 15:41:27 -08:00
Philip O'Toole 32faba7248 Add "create fields" broadcast message 2015-02-13 15:41:27 -08:00
Philip O'Toole 4baeee3af0 Support bool and string types 2015-02-12 17:35:10 -08:00
Philip O'Toole 5b8c0748af Remove marshalValues
Code now on Measurement type
2015-02-12 16:07:20 -08:00
Philip O'Toole bf9bfd6106 Error if field's type has changed 2015-02-12 16:06:37 -08:00
Philip O'Toole 6a20100d2f Implement "delete shard group" command 2015-02-11 09:54:07 -08:00
Philip O'Toole 37647cc6a6 Add function to return shard group by ID
If shard groups were stored in a map by ID, this lookup could be sped
up.
2015-02-11 09:54:07 -08:00
Philip O'Toole dd312a940e Merge pull request #1466 from influxdb/directly_index_fields
Look up Field by ID by direct indexing
2015-02-10 16:16:30 -08:00
Paul Dix 712297cdb5 Merge pull request #1506 from influxdb/fix-select-where-time
Fix queries that have only time in their where clause
2015-02-08 02:05:03 -05:00
David Norton d0dc677292 fix #1516: ALTER RETENTION POLICY 2015-02-05 12:54:06 -05:00
Paul Dix bc813cc9da Fix queries with where clause only having time.
* Add OnlyTimeDimensions to SelectStatement
* Update the database to handle queries that only have a time statement
* Fix server test to insert a time literal that can be parsed.
2015-02-05 01:29:19 -05:00
David Norton 9bbd260d2e remove sort in (database) Measurements() 2015-02-04 10:59:47 -05:00