Ben Johnson
b925e1c1af
Multi-node clustering.
...
This commit adds the ability to cluster multiple nodes together to share
the same metadata through raft consensus.
2015-06-05 14:41:19 -06:00
Ben Johnson
44d38cb430
Merge branch 'master' into alpha1
2015-06-02 10:40:52 -06:00
Paul Dix
4a1ce77090
Wire up DROP SERIES.
...
* Pulled over updates to ast and parser from master
* Updated store and shard to be able to drop series
* Pulled updates to database.go from master into tsdb/meta.go
2015-06-02 11:20:20 -04:00
Ben Johnson
8c8a55a737
Removed 'failed' from test suite.
2015-05-30 08:59:27 -06:00
Ben Johnson
6677ea074f
more services, more test fixes, getting closer...
2015-05-29 14:59:57 -06:00
Ben Johnson
1f294ce8de
Add httpd.Handler.serveQuery() tests.
2015-05-29 14:59:57 -06:00
Paul Dix
072dacc1ab
Update tx.go to work with tsdb
2015-05-29 14:59:57 -06:00
Ben Johnson
75ab63b538
Refactor meta statement execution to meta.StatementExecutor.
2015-05-29 14:54:04 -06:00
Cory LaNou
aa450b7483
fix vet errors
2015-05-28 10:58:39 -06:00
gunnaraasen
a849d16826
Add int_lit as unary expression
2015-05-27 09:35:29 -07:00
gunnaraasen
5ae912a2c1
Disallow 0 at the start of an integer
2015-05-27 09:30:22 -07:00
gunnaraasen
751e09f388
Changed definition of ascii_letter and decimal_digit to letter and digit
2015-05-27 09:30:09 -07:00
gunnaraasen
0844149b7a
Clean up literal definitions, especially for integers and floats
2015-05-27 09:29:54 -07:00
gunnaraasen
720f3bdc50
Removed db_name section and updated the identifier section
2015-05-27 09:29:41 -07:00
David Norton
0a8be47ca1
fix #2644 : make SHOW FIELD KEYS FROM /regex/ work
2015-05-27 10:26:32 -04:00
David Norton
8866c09e67
fix #2644 : make SHOW SERIES FROM /<regex>/ work
2015-05-27 10:26:04 -04:00
David Norton
cc8f5771fa
fix #2644 : make SHOW TAG VALUES FROM /regex/ work
2015-05-27 10:25:26 -04:00
David Norton
fe99177fb3
fix #2644 : make SHOW TAG KEYS FROM /<regex>/ work
2015-05-27 10:22:22 -04:00
Todd Persen
99cb11de49
Merge pull request #1997 from influxdb/fix-1997-include-tags-in-select-wildcard
...
Update SELECT * to return tag values
2015-05-25 23:35:14 -07:00
David Norton
e4670cb934
fix #2635 : Fix query against bool field in WHERE
2015-05-24 05:00:59 -04:00
Todd Persen
ae6d82c8de
Fix AST test for `SELECT *` rewrite.
2015-05-22 13:56:11 -07:00
Todd Persen
fec08fc858
Include tags when doing a `SELECT *`.
2015-05-22 13:38:28 -07:00
Todd Persen
37c47e36d5
Merge pull request #2624 from influxdb/fix-2563-remove-drop-series-id
...
Remove references to SeriesID in `DROP SERIES` handlers.
2015-05-21 13:14:29 -07:00
Todd Persen
074b3bf099
Update the way that `DROP SERIES` handles `Sources`
2015-05-21 12:38:35 -07:00
Todd Persen
7828af48fd
Make `DROP SERIES` take `Sources` instead of `Source`
2015-05-21 11:18:21 -07:00
Todd Persen
344db8ff1e
Fix up parser and handle new error message.
2015-05-20 14:55:19 -07:00
Todd Persen
e7c40e5cae
Remove references to SeriesID in `DROP SERIES` handlers.
2015-05-20 14:27:33 -07:00
Cory LaNou
f21f72189b
fmt
2015-05-20 14:15:33 -06:00
Todd Persen
9c8f42f133
Minor beautification.
2015-05-20 12:02:49 -07:00
Todd Persen
a88380b465
Allow tags to be selected in queries.
2015-05-20 11:35:41 -07:00
Todd Persen
ef178dd4d3
Fix typos in comments.
2015-05-20 11:06:20 -07:00
Cory LaNou
d6c7130721
more derivative tests
2015-05-19 16:25:23 -06:00
Cory LaNou
37e677a639
better validation for arguments for [non]derivative
2015-05-19 16:17:36 -06:00
Cory LaNou
8d17c01b20
make select count(distinct(field)) work
2015-05-19 13:15:14 -06:00
Cory LaNou
b71540e57b
fix validateCountDistinct
2015-05-19 12:43:16 -06:00
Cory LaNou
ca11be338f
add MapCountDistinct/ReduceCountDistinct function tests
2015-05-19 12:29:39 -06:00
Cory LaNou
7de477889b
validate arguments for aggregate functions
2015-05-19 12:29:39 -06:00
Cory LaNou
28d53b644f
first pass at count distinct
2015-05-19 12:29:39 -06:00
Cory LaNou
fc7d63ce61
validate methods can be private
2015-05-19 09:16:21 -06:00
Cory LaNou
4e5c72ef69
refactor RewriteDistinct (thx @dgnorton)
2015-05-19 09:16:21 -06:00
Cory LaNou
2b7701678c
remove cruft
2015-05-19 09:16:21 -06:00
Cory LaNou
580def2ff6
only rewrite if we have distinct
2015-05-19 09:16:20 -06:00
Cory LaNou
b9de38e7d4
support SELECT DISTINCT foo and SELECT distinct(foo)
2015-05-19 09:16:20 -06:00
Cory LaNou
db79464ae0
more refactoring
2015-05-19 09:16:20 -06:00
Cory LaNou
06d40a2582
SELECT DISTINCT field -> SELECT distinct(field)
2015-05-19 09:16:20 -06:00
Cory LaNou
97aa735bf1
fix comment type
2015-05-19 09:16:20 -06:00
Levi Cook
e8b0484859
MapDistinct return nil on empty input and TestReduceDistinct
2015-05-19 09:16:20 -06:00
Levi Cook
8d4c36c9f6
MapDistinct and distinctValues sort tests
2015-05-19 09:16:20 -06:00
Cory LaNou
4c28c33332
validateDistinct should complain about aggregates before fields
2015-05-19 09:16:20 -06:00
Levi Cook
41775a54eb
map distinct and reduce cleanup
2015-05-19 09:16:20 -06:00