Commit Graph

10132 Commits (d13d01b516a0d73591c21642c96312db8e15e422)

Author SHA1 Message Date
Jonathan A. Sternberg f4ce20c92a Merge pull request #6394 from influxdata/js-integer-literal-duration-math
Allow time math with integer timestamps
2016-04-15 18:15:43 -04:00
Jonathan A. Sternberg 0144903686 Merge pull request #6272 from influxdata/js-3369-query-time-range-overflow
Detect when a time literal will overflow or underflow the query engine
2016-04-15 18:15:13 -04:00
Jonathan A. Sternberg debe55702a Merge pull request #6399 from influxdata/js-changelog-update
Update the changelog in master from v0.12.1
2016-04-15 17:53:13 -04:00
Jonathan A. Sternberg f43eed2815 Merge pull request #6362 from influxdata/js-series-keys-tags
Do not filter out empty tags from series keys
2016-04-15 17:43:45 -04:00
Jonathan A. Sternberg a85188bd61 Allow time math with integer timestamps 2016-04-15 17:36:37 -04:00
Jonathan A. Sternberg 425e315f45 Detect when a time literal will overflow or underflow the query engine
Fixes #3369.
2016-04-15 17:35:54 -04:00
Jonathan A. Sternberg 6dbfe81e6b Update the changelog in master from v0.12.1
Removed bugfixes from 0.13.0 that were included in 0.12.1.
2016-04-15 17:34:56 -04:00
Jonathan A. Sternberg 1160b52a3a Merge pull request #6383 from influxdata/js-query-executor-panic-recovery
Recover from a panic during query execution
2016-04-15 17:30:56 -04:00
Gunnar 8682dc8334 Merge pull request #6334 from influxdata/ga-env-multiple-inputs
Support env overrides for all inputs of the same type
2016-04-15 09:51:48 -07:00
gunnaraasen d983a8c0d3 Support env overrides for all inputs of the same type 2016-04-15 09:39:22 -07:00
Jonathan A. Sternberg 207a4b9d07 Recover from a panic during query execution 2016-04-15 11:13:54 -04:00
Jonathan A. Sternberg 6f5c72e6ea Merge pull request #6382 from influxdata/js-influxql-unused-code
Removing no longer used code in the query engine
2016-04-15 11:12:35 -04:00
Jonathan A. Sternberg 9c2e430a72 Removing no longer used code in the query engine 2016-04-15 10:22:34 -04:00
Jonathan A. Sternberg e2cf94e62c Merge pull request #6371 from influxdata/js-5707-deprecated-message
Return a deprecated message when IF NOT EXISTS is used
2016-04-15 09:32:36 -04:00
Jonathan A. Sternberg 42b68d915f Return a deprecated message when IF NOT EXISTS is used
The deprecated message is now attached to a new attribute returned with
the results. This message can then be read by clients to warn a user
about upcoming changes to the query engine.

The `influx` client has already been modified to read this message and
print it out for every format except CSV.

The first warning message is a deprecated message about removing `IF NOT
EXISTS` from `CREATE DATABASE`.

The message will also be printed to the server log.

Fixes #5707.
2016-04-15 09:17:59 -04:00
Ben Johnson 8838843ab4
Merge branch 'seiflotfy-fix6294' 2016-04-14 14:09:15 -06:00
Seif Lotfy 64a4808dcb
Merge branch 'fix6294' of https://github.com/seiflotfy/influxdb into seiflotfy-fix6294
Conflicts:
	CHANGELOG.md
2016-04-14 14:08:38 -06:00
Jonathan A. Sternberg 03bbff1a65 Merge pull request #6380 from influxdata/js-6379-validate-percentile-args
Added checking for the first argument in percentile()
2016-04-14 15:57:07 -04:00
Ben Johnson 42cbbcec2a Merge pull request #6384 from benbjohnson/chan-iterator-dbl-buffer
Add double buffer on ChanIterator
2016-04-14 13:53:08 -06:00
Ben Johnson 4f381d03d7
add double buffer on chan iterator
This commit changes the channel iterators to use a double buffer
to reduce allocations. The caller of `Iterator.Next()` must copy
out the point before calling `Next()` again.
2016-04-14 13:52:13 -06:00
Seif Lotfy 7a2dcd3131 Check FieldCodec f before calling FieldCoded.Fields()
If FieldCodec f == nil don't call FieldCoded.Fields().

Fixes #6294
2016-04-14 20:30:30 +02:00
Jonathan A. Sternberg 1b6ffa1d2d Merge pull request #6363 from influxdata/js-6292-percentile-as-selector
Allow percentile to be used as a selector
2016-04-14 12:28:16 -04:00
Jonathan A. Sternberg d36698ebd0 Added checking for the first argument in percentile()
The `percentile()` call previously did not validate that the first
argument was a variable reference and that would let an invalid query
slip by that would panic the query engine.

Added checking for this case and also included test cases for the other
calls that require a variable reference as the first argument.

Fixes #6379.
2016-04-14 12:12:31 -04:00
Jonathan A. Sternberg 64dd2c8919 Merge pull request #6374 from influxdata/js-6296-rename-time-field
Allow the implicit time field to be renamed
2016-04-14 12:07:41 -04:00
Jonathan A. Sternberg 9d01f3aa56 Allow the implicit time field to be renamed
Fixes #6296.
2016-04-14 11:04:06 -04:00
Edd Robinson f029d80afb Merge pull request #6202 from chris-ramon/normalises-shard-duration
Improves existing RP checking when creating a DB.
2016-04-13 20:31:16 +01:00
Chris Ramón 93aa287d0a updates CHANGELOG 2016-04-13 13:10:40 -05:00
Chris Ramón a4dd61a2c7 adds shard duration normalization before comparing retention policies 2016-04-13 13:09:20 -05:00
Jonathan A. Sternberg 66a599825b Allow percentile to be used as a selector
Fixes #6292.
2016-04-13 13:29:14 -04:00
Jonathan A. Sternberg 835d08591e Do not filter out empty tags from series keys 2016-04-13 09:15:57 -04:00
Todd Persen 36ca49c17b Merge branch 'simnv-opentsdb-log-less' 2016-04-12 16:09:42 -07:00
Todd Persen 00ed9ebaf3 Remove TSDB listener accept message 2016-04-12 16:09:31 -07:00
Gunnar cfa50bbd3d Merge pull request #6228 from influxdata/ga-multiple-inputs
Support multiple listeners per input
2016-04-12 15:31:38 -07:00
Jonathan A. Sternberg 50bd78433c Merge pull request #6291 from influxdata/js-6261-optimize-distinct
Optimize the distinct call
2016-04-12 17:09:10 -04:00
Nathaniel Cook 93a76eecb6 Merge pull request #6293 from influxdata/nc-percentile-selector
Update Percentile to preserve Aux fields since its a selector
2016-04-12 14:18:23 -06:00
Nathaniel Cook 6ae62e9644 update Percentile to preserve Aux fields since its a selector 2016-04-12 13:34:50 -06:00
Ben Johnson f7f35affd2
add distinct iterator benchmark 2016-04-12 13:22:03 -06:00
Edd Robinson f187f8995f Merge pull request #6288 from influxdata/er-fix-client
Ensure Client is safe for concurrent use
2016-04-12 18:17:55 +01:00
Jonathan A. Sternberg 60282cf52d Merge pull request #6284 from influxdata/js-3371-where-clause-compare-tags-and-fields
Enhance comparing tags and fields in the where clause
2016-04-12 11:45:54 -04:00
Edd Robinson 592d668e1b Ensure Client is safe for concurrent use
Fixes #6287.
2016-04-12 14:23:32 +01:00
Jonathan A. Sternberg a24f442b89 Merge pull request #6277 from PierreF/tsm1-filestore-deadlock
Fix deadlock in tsm1/file_store
2016-04-12 08:43:03 -04:00
Pierre Fersing d4668af4d7 Updated changelog 2016-04-12 09:39:27 +02:00
Pierre Fersing 29b19a2293 Fix deadlock in tsm1/file_store 2016-04-12 09:39:21 +02:00
Valeriy Simonov 1e6b76e0a6 Changelog update 2016-04-12 09:11:55 +05:00
Valeriy Simonov 57f0d8ffb8 Merge branch 'master' into opentsdb-log-less 2016-04-12 09:08:12 +05:00
Valeriy Simonov 9a4b73aa38 rebase 2016-04-12 08:23:51 +05:00
Jonathan A. Sternberg 6708d0c439 Optimize the distinct call
Change distinct so it uses a custom reducer that keeps internal state
instead of requiring all of the points to be kept as a slice in memory.

Fixes #6261.
2016-04-11 18:29:50 -04:00
Jonathan A. Sternberg ea6262b712 Enhance comparing tags and fields in the where clause
Now it is possible to compare tags and fields and it is also now
possible to compare tags and tags. Previously, it was only possible to
compare fields with fields and tags with a string or a regex.

Fixes #3371.
2016-04-11 18:10:08 -04:00
Edd Robinson 7c34b1b3f8 Merge pull request #6281 from influxdata/er-fix-admin-docs
Use 'latest' alias for links to documentation
2016-04-11 22:35:12 +01:00
Ben Johnson 7aa0c57ee9 Merge pull request #6270 from benbjohnson/bench
tsm1 query engine alloc reduction
2016-04-11 15:03:08 -06:00