Commit Graph

1456 Commits (77100497c8259d8197dacbfb2107d221529ba379)

Author SHA1 Message Date
John Shahid 77100497c8 add a test for #578 2014-05-28 13:02:28 -04:00
Paul Dix cbdebd8655 Merge pull request #578 from chobie/fix-496-parentheses-value-should-support-alias
parentheses value should support alias #496
2014-05-26 17:50:48 -04:00
Shuhei Tanuma 8035fd95e0 parentheses value should support alias #496
This patch support alias for parentheses value.

e.g)
select (1 + 2) as v from access

Currently, parentheses are mandatory.
2014-05-24 21:26:28 +09:00
Bruno Binet 4e1006288b Close #476. update makefile to add support for arm builds 2014-05-23 20:46:11 -04:00
John Shahid 9ccc4af946 no need for the reference to self 2014-05-23 20:08:09 -04:00
John Shahid 696d61d534 prepare for a release 2014-05-23 19:18:33 -04:00
John Shahid 2dbbbc62e9 update the changelog 2014-05-23 18:59:48 -04:00
John Shahid ed5769b233 Close #560. Use /dev/urandom instead of /dev/random 2014-05-23 18:58:46 -04:00
John Shahid dd267305d6 Fix #502. Fix a race condition in assigning id to db+series+field 2014-05-23 18:54:06 -04:00
John Shahid ba0250cf70 give credit to @peekeri 2014-05-23 15:30:53 -04:00
John Shahid eaed57f5a3 don't always assume that points have timestamp and/or sequence number 2014-05-23 15:30:22 -04:00
Jari Sukanen bf2c1c670d Close #567. Fix #112. parser: allow select from multiple series
Adjust parser to understand queries like 'SELECT * FROM series1, series2, ...'.
It seems that selecting from multiple series was supported everywhere else, but
parser just could not understand the syntax.
2014-05-23 15:25:58 -04:00
John Shahid b96b36e934 change the error message in the test 2014-05-23 15:18:18 -04:00
John Shahid 775e849b2f update the changelog 2014-05-23 15:17:35 -04:00
John Shahid 1f7fd3129c Fix #576. Don't set timestamp or sequence numbers when listing cq 2014-05-23 15:14:50 -04:00
John Shahid 67c30bc63f Don't call time.Now() unnecessarily 2014-05-23 15:11:37 -04:00
John Shahid afe2352278 Fix #575. Selecing single point queries don't interpret timestamp correctly 2014-05-23 15:11:37 -04:00
Mladen Srdic 83cfec100d Close #443. Use `name` instead of `username` in /cluster_admins
Listing cluster admins still returns a list where a 'username' field is used instead of 'user' field. This fix should not affect anything else than that presentation.
2014-05-21 16:30:04 -04:00
John Shahid 0914e8e25d Fix #565. Make sure empty series names don't cause a panic 2014-05-21 14:33:59 -04:00
John Shahid 953137a77d Fix #537. Incorrect query syntax shouldn't causes internal error 2014-05-21 14:33:59 -04:00
Paul Dix a6547c5bd9 Update README.md
Update the readme to have the real pointers to the right places. /me shakes fist at @jvshahid
2014-05-21 13:28:04 -04:00
John Shahid 5b984c1252 Fix the build instructions link and format the readme 2014-05-21 12:22:21 -04:00
John Shahid e6c828f4e7 fix a typo in the changelog and add udp to the graphite docs 2014-05-21 12:11:49 -04:00
John Shahid c42d8dccb5 Fix #563. Add sample config for graphite over upd 2014-05-21 12:04:10 -04:00
Shuhei Tanuma b0f99d0fbb Close #561. Fix missing query string in parser errors 2014-05-21 12:01:29 -04:00
John Shahid 062de961c9 Fix #524. Arithmetic operator and where conditions don't play nice 2014-05-20 16:20:21 -04:00
John Shahid bd03a579bd update the year in the LICENSE file 2014-05-20 15:34:20 -04:00
John Shahid 890f291f28 Fix #550. Fix tests on 32-bit ARM 2014-05-20 15:20:21 -04:00
Matthijs Boelstra 9a06ec4031 Close #547. Add difference function 2014-05-20 14:43:22 -04:00
John Shahid 86a80f7a09 fix the style of the changelog 2014-05-20 14:35:41 -04:00
John Shahid af98ecaf27 Fix #529. Don't run influxdb as root 2014-05-20 14:22:26 -04:00
John Shahid 9c8204b64d Fix #460. Don't start influxdb automatically after installing from pkg 2014-05-20 14:22:25 -04:00
John Shahid b6a5a10912 Fix #557. Using group by time(1y) doesn't work while time(365d) is fine 2014-05-20 13:15:24 -04:00
John Shahid a64ee2ae1a update the changelog 2014-05-19 20:41:45 -04:00
John Shahid 44688fc914 remove newlines from log statements 2014-05-19 20:20:39 -04:00
John Shahid 1369ca75fb Fix #555. Fix a regression in d593348 where the snapshot format changed 2014-05-19 19:44:35 -04:00
John Shahid 379215f9cc add some logging 2014-05-19 19:28:32 -04:00
John Shahid 5b318548dc fix a log statement 2014-05-19 15:51:43 -04:00
John Shahid 39e659cfc2 update the changelog 2014-05-19 15:31:44 -04:00
John Shahid d1b0597044 Merge branch 'pr-551' 2014-05-19 15:30:30 -04:00
John Shahid a08e63ea9c more idiomatic go 2014-05-19 15:28:51 -04:00
John Shahid 3c8aafd46e modify some tests 2014-05-19 15:22:49 -04:00
Shuhei Tanuma d382ea0b3e Close #551. Fix #409. Add aggregate funciton top and low
this patch provides aggregate function top and low. these function are
useful when executing analytics or summarize queries.

Added functions:
  low(columns..., limit)
  top(columns..., limit)

For instance:
  `select low(value, 10) from series` will output 10 `value` values with ascending order.
  `select top(value, 10) from series` will output 10 `value` values with descending order.

How to build:
  go get github.com/ryszard/goskiplist/skiplist
  go build src/daemon.go

Currently, these function support float64 and int64 types.

Limitations:
  * can't handle same value correctly (goskiplist limitation)

Misc:
  * each column should support alias.
    e.g) low(score as low_score, 10)

And, I'm not good at English and Golang. so if you find some wrong
points, plz feel free to fix it.
2014-05-19 15:22:49 -04:00
Paul Dix a4ece2a897 Update CHANGELOG.md 2014-05-16 17:58:27 -04:00
Paul Dix 0744a292e2 Update CHANGELOG.md 2014-05-16 17:47:47 -04:00
Paul Dix 6e81a63ccb Merge pull request #545 from freeformz/typo
Fix typos
2014-05-16 15:30:55 -04:00
Paul Dix 6a74cfdee1 Merge pull request #546 from peekeri/graphite_udp_api
graphite api: add support for sending metrics over UDP
2014-05-16 14:44:18 -04:00
Jari Sukanen 50d8050e10 graphite api: add support for sending metrics over UDP
There already exists an API for sending metrics to InfluxDB over TCP using
Graphite plaintext protocol. Sometimes it is more convenient to send metrics
over UDP, so adding that support for the Graphite as well. For now at least,
using the same port for UDP traffic than for TCP to make configuration really
simple.

UDP listener is disabled by default, but can be turned on by setting udp_enabled
to true in graphite plugin configuration.
2014-05-16 10:52:07 +03:00
Edward Muller 29d6330cfb Fix typos 2014-05-15 16:40:05 -07:00
John Shahid bd33adf4c2 Fix #540. Add a test to make sure regex matching with literal dot work 2014-05-15 15:02:34 -04:00