Jonathan A. Sternberg
c1ff42857c
Merge pull request #50 from influxdata/js-csv-decoder-fix
...
fix(query/csv): the csv decoder should return false from More() if an error happens
2018-05-25 12:45:09 -05:00
Jonathan A. Sternberg
1cf63b1070
fix(query/csv): the csv decoder should return false from More() if an error happens
2018-05-25 12:42:39 -05:00
Nathaniel Cook
13b42c111e
Merged pull request #48 from influxdata/nc-mergeKey
...
feat(query/functions/map): Add mergeKey argument to map
2018-05-25 11:39:49 -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
2a6885ba46
Merged pull request #42 from influxdata/nc-csv-errors
...
fix(query/csv): Encode result iterator errors
2018-05-25 10:02:08 -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 #32 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 #43 from influxdata/sgc-metaqueries
...
fix(query): Utilize improvements storage RPC API
2018-05-24 15:11:00 -07:00
Jonathan A. Sternberg
04a0775960
Merge pull request #44 from influxdata/js-transpiler-yield-name
...
feat(query/influxql): use yield name to specify the statement id
2018-05-24 16:42:27 -05: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
f1eddb46bd
Merged pull request #40 from influxdata/nc-empty-block
...
fix(query): Add Empty to blocks
2018-05-24 12:06:52 -06:00
Nathaniel Cook
321d528808
Merged pull request #41 from influxdata/nc-idp-influx
...
chore(idp): Rename cmd/idp to cmd/influx
2018-05-24 12:06:20 -06:00
Nathaniel Cook
5ecfdcffd2
chore(cmd/influx): Flatten ifql subcommand
...
Now the commands are:
influx query
influx repl
2018-05-24 11:46:40 -06:00
Nathaniel Cook
1e1c6e21e5
chore(idp): Rename cmd/idp to cmd/influx
2018-05-24 11:34:39 -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
Jonathan A. Sternberg
a7d5a89844
Merge pull request #36 from influxdata/js-http-error-handling
...
feat(http): add a utility function for reading http errors
2018-05-23 13:42:07 -05:00
Jonathan A. Sternberg
48ece5136f
feat(http): add a utility function for reading http errors
...
This also modifies the http error encoder to not include the reference
code in the `X-Influx-Error` message so it only includes the text.
2018-05-23 13:29:48 -05:00
Jonathan A. Sternberg
367793c1bd
Merge pull request #33 from influxdata/js-transpilerd-logger
...
feat(cmd/transpilerd): follow the logging style guide for transpilerd
2018-05-23 12:28:15 -05: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
Jonathan A. Sternberg
eb83898c73
feat(cmd/transpilerd): follow the logging style guide for transpilerd
...
Introduce logging into the http server implementation for when the
server is shutting down and reporting when we receive a signal for a
hard shutdown.
2018-05-23 12:06:09 -05:00
Jonathan A. Sternberg
0cc2440c1f
Merge pull request #30 from influxdata/js-transpiler-shutdown
...
feat(cmd/transpilerd): update transpilerd to use http server package
2018-05-23 12:05:54 -05:00
Jorge Landivar
5aaf474ba3
Merge pull request #29 from influxdata/addr2url
...
addr -> url
2018-05-23 10:30:54 -05:00
Nathaniel Cook
5f7476953a
Merged pull request #23 from influxdata/nc-ifql-nightly
...
Create nightly builds of ifqld
2018-05-23 09:15:22 -06:00
Nathaniel Cook
08eb19805d
chore(CI): Create nightly builds of ifqld
...
The builds are really anytime a commit is made to master not nightly.
Builds use goreleaser with the snapshot setting.
2018-05-23 09:13:46 -06:00
Michael Desa
09b2bf2b71
Merge pull request #18 from influxdata/md-misc-fixes
...
[WIP] Use correct query param and update authorization tests
2018-05-23 10:47:02 -04:00
Jonathan A. Sternberg
d8e4f4f2e0
feat(cmd/transpilerd): update transpilerd to use http server package
...
The http package now contains a server that handles signals and proper
shutdown procedure. It has now been updated to use it.
The http package has also added a `ListenAndServe` convenience function
that is similar to the `net/http` one, but also takes in a logger and
will automatically use the most common signals when running an http
server.
2018-05-23 09:27:17 -05:00
Jonathan A. Sternberg
0c422a863f
Merge pull request #28 from influxdata/js-http-server
...
feat(http): add common code for running an http server
2018-05-23 08:56:58 -05:00
Jonathan A. Sternberg
68ee1acd89
feat(http): add common code for running an http server
...
It handles graceful termination by listening to signals which will be
particularly useful for commands where the sole purpose is to run an
http server.
2018-05-23 08:51:13 -05:00
j. Emrys Landivar (docmerlin)
b08e61bb55
addr -> url
2018-05-23 03:27:08 -05:00
Jorge Landivar
bdbaac6dd2
Merge pull request #15 from influxdata/toHTTP
...
toHTTP function moved from github.com/influxdata/ifql
2018-05-23 00:42:45 -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)
593e8f85c0
Update Gopkg.lock
2018-05-23 00:35:19 -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
Jorge Landivar
435e38da9d
Merge pull request #25 from influxdata/vet
...
fix and enable vet
2018-05-23 00:22:42 -05:00
j. Emrys Landivar (docmerlin)
2f33928e1c
add make vet
2018-05-23 00:21:26 -05:00
j. Emrys Landivar (docmerlin)
85c13d5f12
enable vet
2018-05-22 17:05:17 -05:00
Adam
19a51426d7
Merge pull request #22 from influxdata/aa_fromcsv_file
...
feat(cmd/ifqld): fromCSV reads files now
2018-05-22 17:17:57 -04: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
316bd7fb16
Merged pull request #17 from influxdata/nc-makefile
...
chore: Add Makefile
2018-05-22 14:51:50 -06:00
Nathaniel Cook
eb7210b107
fix(ci): fix circleci to use make file
2018-05-22 14:50:10 -06:00
Nathaniel Cook
c8ff490338
chore: Add Makefile
2018-05-22 14:45:23 -06:00
Nathaniel Cook
ae31810f41
Merged pull request #19 from influxdata/nc-stop-col
...
fix(query): Add _stop, _start to partition key
2018-05-22 13:47:33 -06:00
Nathaniel Cook
0e2c213517
fix(query): Add _stop, _start to partition key
2018-05-22 12:59:07 -06:00
Michael Desa
d907373d03
fix(http): use name query parameter instead of org in org routes
2018-05-22 13:50:34 -04:00
Michael Desa
3a42225dae
test(testing): fix find authorization by token test
...
The previous test wasn't sufficient to detect certain types bad tests.
2018-05-22 13:25:05 -04:00
Jonathan A. Sternberg
4c69fd85e3
Merge pull request #14 from influxdata/js-influxql-transpiler
...
migrate(cmd/transpilerd): migrate the transpiler and its http handler to platform
2018-05-22 11:42:35 -05:00