influxdb/query
Jonathan A. Sternberg d4db76508f Add some unit tests to subqueries
This is not complete, but it is a starting point for more thorough tests
of subqueries.

This also reorders the use of `cmp.Diff` so the `want` is first and
`got` is second. This way, the `want` shows up as a minus sign in the
diff rather than, confusingly, as a plus sign.
2018-03-27 14:56:27 -05:00
..
internal Modify the Select call to return a Cursor 2018-03-09 12:47:41 -06:00
neldermead move RewriteStatement and neldermead to influxdb/query package 2017-10-30 10:24:15 -07:00
call_iterator.go influxdata/influxdb/influxql -> influxdata/influxql 2017-10-30 14:40:26 -07:00
call_iterator_test.go Cleanup query package 2018-01-21 12:08:23 -08:00
cast.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
compile.go Fix regression to allow now() to be used as the group by offset again 2018-03-26 10:52:32 -05:00
compile_test.go Fix regression when math between literals is used in a field 2018-02-14 14:34:34 -05:00
cursor.go Refactor the math engine to compile the query and use eval 2018-03-19 15:01:15 -05:00
emitter.go Modify the Select call to return a Cursor 2018-03-09 12:47:41 -06:00
execution_context.go Turn the ExecutionContext into a context.Context 2018-03-08 14:03:20 -06:00
executor.go Refactor the math engine to compile the query and use eval 2018-03-19 15:01:15 -05:00
executor_test.go Turn the ExecutionContext into a context.Context 2018-03-08 14:03:20 -06:00
explain.go Modify the Select call to return a Cursor 2018-03-09 12:47:41 -06:00
functions.gen.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
functions.gen.go.tmpl Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
functions.go Refactor the math engine to compile the query and use eval 2018-03-19 15:01:15 -05:00
functions_test.go influxdata/influxdb/influxql -> influxdata/influxql 2017-10-30 14:40:26 -07:00
iterator.gen.go Refactor the math engine to compile the query and use eval 2018-03-19 15:01:15 -05:00
iterator.gen.go.tmpl Refactor the math engine to compile the query and use eval 2018-03-19 15:01:15 -05:00
iterator.go Storage RPC API improvements. See PR for details 2018-03-21 13:46:09 -07:00
iterator_mapper.go Modify the Select call to return a Cursor 2018-03-09 12:47:41 -06:00
iterator_mapper_test.go Modify the Select call to return a Cursor 2018-03-09 12:47:41 -06:00
iterator_test.go Refactor the math engine to compile the query and use eval 2018-03-19 15:01:15 -05:00
linear.go Add unsigned iterators for all types 2017-09-18 15:09:10 -05:00
math.go Implement basic trigonometry functions 2018-03-20 14:13:52 -05:00
monitor.go Refactor the math engine to compile the query and use eval 2018-03-19 15:01:15 -05:00
monitor_test.go Modify the Select call to return a Cursor 2018-03-09 12:47:41 -06:00
point.gen.go EXPLAIN ANALYZE 2017-10-20 08:01:37 -07:00
point.gen.go.tmpl EXPLAIN ANALYZE 2017-10-20 08:01:37 -07:00
point.go Update influxql so DataType constants are the type DataType 2017-11-07 18:34:53 -06:00
point_test.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
query.go Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00
result.go influxdata/influxdb/influxql -> influxdata/influxql 2017-10-30 14:40:26 -07:00
select.go Add some unit tests to subqueries 2018-03-27 14:56:27 -05:00
select_test.go Add some unit tests to subqueries 2018-03-27 14:56:27 -05:00
statement_rewriter.go Improve SHOW TAG KEYS performance. 2017-11-07 10:59:19 -07:00
statement_rewriter_test.go Improve SHOW TAG KEYS performance. 2017-11-07 10:59:19 -07:00
subquery.go Add some unit tests to subqueries 2018-03-27 14:56:27 -05:00
subquery_test.go Add some unit tests to subqueries 2018-03-27 14:56:27 -05:00
task_manager.go Turn the ExecutionContext into a context.Context 2018-03-08 14:03:20 -06:00
tmpldata Separate the query engine into a separate package 2017-08-16 13:38:43 -05:00