Commit Graph

370 Commits (7ea1db0079f7fad3049d61ffc6ea49f7835cb735)

Author SHA1 Message Date
Jonathan A. Sternberg e18879370b feat(http): perform error handling in the transpiler and the query service
The query service now handles some errors (not all) from the ifqld
service. This way, the transpiler, which uses the query service, can
report when it encounters an error from ifqld.

The transpiler will now correctly return errors in the JSON response.
2018-05-24 17:14:16 -05:00
Stuart Carnie 11004024cb
Merge pull request #43 from influxdata/sgc-metaqueries
fix(query): Utilize improvements storage RPC API
2018-05-24 15:11:00 -07:00
Jonathan A. Sternberg 174ce83f5d feat(query/influxql): use yield name to specify the statement id
The transpiler will now yield each statement using the statement id so
the result encoder can properly order the results and encode the
statement id. This behavior is now in the transpiler spec.
2018-05-24 16:33:51 -05:00
Stuart Carnie 6e12d6634d fix(query): Utilize improvements storage RPC API
* clarifies grouping behavior in data types, matching RPC
2018-05-24 12:14:47 -07:00
Nathaniel Cook 60618ad521 Merged pull request #34 from influxdata/nc-ifql-format-col-order
fix(query/execute): Update formatted sort order of cols
2018-05-24 12:19:44 -06:00
Nathaniel Cook 8c6726cad2 fix(query): Add Empty to blocks
Using Empty the csv encoder can now correctly encode empty blocks.
2018-05-24 10:16:36 -06:00
Adam 5705f33f55
feat(cmd/ifqld): enforce fixed ordering on results iterator (#39)
sort hash keys in the partition_lookup.Range() function so that returned results are in a deterministic, though arbitrary, order.
2018-05-24 10:59:37 -04:00
Nathaniel Cook afa2aef16f fix(query/execute): Update formatted sort order of cols
Now columns are ordered the same as the partition key.
2018-05-23 11:12:59 -06:00
j. Emrys Landivar (docmerlin) b08e61bb55 addr -> url 2018-05-23 03:27:08 -05:00
j. Emrys Landivar (docmerlin) e11c351853 make sure we are done processsing block before process exits 2018-05-23 00:41:24 -05:00
j. Emrys Landivar (docmerlin) 32118f36c7 toHTTP function moved from github.com/influxdata/ifql PR 362 2018-05-23 00:28:44 -05:00
Adam 1495b7291a feat(cmd/ifqld): fromCSV reads files now
extended fromCSV to have an optional file:  parameter so that larger blocks of text can be given by filename instead of a blob of text
2018-05-22 16:56:27 -04:00
Nathaniel Cook c8ff490338 chore: Add Makefile 2018-05-22 14:45:23 -06:00
Nathaniel Cook 0e2c213517 fix(query): Add _stop, _start to partition key 2018-05-22 12:59:07 -06:00
Nathaniel Cook affc7e3976 move types around to avoid cyclic imports 2018-05-21 17:02:42 -06:00
Nathaniel Cook 20345b8701 rewrite imports 2018-05-21 15:20:06 -06:00
Nathaniel Cook 51b8aebebf initial copy of ifql repo 2018-05-21 15:18:56 -06:00
Nathaniel Cook c0b01f16f8 update transpiler and influxql encoders 2018-05-19 15:28:37 -06:00
Nathaniel Cook 1833601dbb fix(query/csv): update CSV encoders/decoders for final SPEC 2018-05-18 16:54:25 -06:00
Adam 64e3c840ea Relocated several source files from private repo to here. 2018-05-17 11:35:53 -04:00