Commit Graph

17 Commits (20deef8b378fd8a6ff1b0523be690fed543d25d5)

Author SHA1 Message Date
John Shahid 1baa0b7962 Fix a bug introduced in 25cc9793c2 2014-09-17 16:35:21 -04:00
John Shahid 25cc9793c2 Use double quotes in GetQueryString()
Fix #923
2014-09-12 11:09:51 -04:00
Paul Dix f0c0abdb10 Add option to include space to series mappings in list series query.
Fixes #867. Close #927. Updated lexer and parser to work, added code to
coordinator to insert spaces if requested. Now the user can request the
shard spaces. `list series include spaces`
2014-09-11 11:28:18 -04:00
John Shahid e8d83e5ae3 Let time.Unix() do the work for us 2014-09-10 15:15:56 -04:00
John Shahid 5669346054 cleanup the storage keys and point iteration in the shard's code 2014-09-10 14:08:07 -04:00
John Shahid 39583a0f67 Fix minus operator without surrounding spaces
Close #768

This patch isn't backward compatible since older version allowed the use
of table names with '-' without enclosing them. With this change, '-'
characters are disallowed completely unless they were enclosed in double
quotes. The parser can be made more complicated and be more context
aware to distinguish the use of the '-' character depending on the query
being parser, but I think the approach in this patch is simpler and less
confusing from the user's point of view.
2014-09-08 14:37:34 -04:00
John Shahid 2c55e04188 Move things around 2014-09-03 15:10:43 -04:00
John Shahid 4fa4f9e54f Fix parsing of multiple queries
Fix #885
2014-09-03 15:10:42 -04:00
John Shahid 9c811a1761 Some cleanup 2014-09-03 15:10:42 -04:00
John Shahid 335dec7ac5 Remove an unused rule in the lexer 2014-08-13 15:23:27 -04:00
John Shahid 49122da251 List series should support filtering by a regex 2014-08-11 16:59:11 -04:00
John Shahid 680e6d96bc Always fill empty groups if the start time is specified.
Prior to this change, empty group filling worked between t1 and t2,
where t1 is the timestamp of the earliest point and t2 is the timestamp
of the last point. This patch change the behavior of the fill() to use
the query start and end time as t1 and t2, respectively. This only
happens if the user specified the start time of the query. Otherwise,
there's a potential of filling millions of millions of groups, since the
default start time of the query is really really early.
2014-08-06 16:03:29 -04:00
John Shahid 22cb673771 Fix the build on go1.3
There was one remaining reference to an incomplete struct type from c
which is value_array. The error printed by the compiler is intermittent,
meaning it compiles sometimes and print the error sometimes. Also,
value_array isn't strictly an incomplete data type since it contains a
pointer to an unknown data type but it's size could be computed.
2014-07-29 12:55:52 -04:00
John Shahid e8f750305f use camel casing instead of underscore 2014-07-29 12:21:48 -04:00
Philip O'Toole c1e285383b Allow 'null' to be supplied as fill value
Add to unit tests to test fill, including new "null" support.

Fix #713.
2014-07-22 15:07:11 -04:00
John Shahid 39ea797dcd Fix #690. Use idiomatic go project structure
Conflicts:
	cluster/cluster_configuration.go
	cluster/shard.go
	coordinator/command.go
	coordinator/coordinator_test.go
	coordinator/raft_server.go
	daemon/influxd.go
	datastore/shard.go
	integration/single_server_test.go
	parser/query_spec.go
	server/server.go
2014-07-14 18:47:37 -04:00
John Shahid e5276112c1 Restructure the codebase to be more idiomatic 2014-06-30 11:31:08 -04:00