Commit Graph

26 Commits (3d6aa22c07834b9f0262511587daa1d77d2e4693)

Author SHA1 Message Date
Nathaniel Cook 43ff647444 fix: Update Godoc parameter name 2018-07-13 10:43:20 -06:00
Nathaniel Cook 7902652290 chore: Rename local vars for b to tbl 2018-07-13 10:04:38 -06:00
Nathaniel Cook 80acc8d8c4 chore: Rename block to table 2018-07-13 09:56:35 -06:00
Nathaniel Cook e4848caa25 chore: Rename parition key to group key 2018-07-12 16:16:58 -06:00
adamperlin fe1493c120 Update error message for function unimplemented for data type in flux 2018-07-09 18:10:21 -07:00
adamperlin bcbc0256d5 Change error message when selector function is nil 2018-07-09 18:10:21 -07:00
adamperlin b46a14ba77 Remove broken nil check method; add simple interface nil check 2018-07-09 18:10:21 -07:00
adamperlin a546bbfcb1 Add error message when row selector interface has nil value to avoid panic 2018-07-09 18:10:21 -07:00
jlapacik b896ed1c5b add HasSideEffect method to Function interface
evaluate CallExpression to determine if function has side effects
return all side effects
add Equal method to Value interface
2018-07-03 12:44:09 -07:00
Mark Rushakoff f7d539e270 chore(query): remove id package
Finishes up work started in , now that our internal dependencies no
longer refer to plaform/query/id.
2018-06-28 10:09:49 -07:00
Mark Rushakoff c74bcd11b4 chore(query): remove usage of query/id package
It was effectively a copied and pasted platform.ID, so change it to a
type alias. Once our known references to the query/id package are
updated to platform.ID, we'll delete the package.
2018-06-20 12:55:20 -07:00
Nathaniel Cook 5e30d7cdd6 chore(query/builtin): Add package to formalize query builtin initialization
Now all packages wishing to consume query package can and must import
query/builtin in order to properly initialize all builtin values.
2018-05-31 12:03:49 -06:00
Nathaniel Cook c583a23f6c fix(query): Tables are sorted by Partition Key 2018-05-29 16:41:46 -06:00
Nathaniel Cook 44ea17cab3 feat(query/functions/map): Add mergeKey argument to map
In order to facilitate this change the query.PartitionKey
interface was changed to use the values.Value interface.

Additionally map was previously broken when it needed to repartition.
Tests have been added.
2018-05-25 11:08:31 -06:00
Nathaniel Cook 99f4e4a8b4 fix(query/csv): Encode result iterator errors
This change also adds Name() to the Result interface to allow for
correct MultiResultEncoding.
2018-05-24 16:38:50 -06:00
Jonathan A. Sternberg ea6e96bd09
Merge pull request from influxdata/js-transpiler-error-handling
feat(http): perform error handling in the transpiler and the query service
2018-05-24 17:18:01 -05:00
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 from influxdata/sgc-metaqueries
fix(query): Utilize improvements storage RPC API
2018-05-24 15:11:00 -07: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 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 ()
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
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