Adam Perlin
34b7837449
Merge pull request #363 from influxdata/ap-panic-fix-stringmax
...
Fix panic when unimplemented selector function is used
2018-07-11 10:10:35 -07:00
adamperlin
cadc97ecd1
Add link to issue in failing flux test skip description; change error constructor in test function
2018-07-11 10:03:55 -07:00
Nathaniel Cook
f47daadd43
feat(query): Add support for using bucketID in from
2018-07-10 15:52:48 -06:00
jlapacik
aba6fc3378
order parents in join based on parameter name
2018-07-10 11:09:58 -07:00
adamperlin
ac09a65727
Handle query execution errors in query_test to avoid infinite blocking issues after fail
2018-07-09 18:24:54 -07:00
adamperlin
8e34bd779e
Update output file for flux string max test with new error message
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
adamperlin
dddfe38ee9
Move additional tests to new query test location
2018-07-09 14:17:02 -07:00
adamperlin
b3aff30f4d
Move main end to end flux query test to query/functions package dir
2018-07-09 14:13:53 -07:00
adamperlin
df44aa0ad5
Move querytest/test_cases to functions/testdata and update query_test with new path
2018-07-09 14:13:53 -07:00
jlapacik
15e3b7edf0
remove query domain
2018-07-09 13:27:30 -07:00
Jonathan A. Sternberg
691fa9ba97
feat(query/influxql): support for windowing
...
The transpiler now supports basic windowing. The window offsets are not
supported yet at all.
For windowing, we use the window function to split the points, perform
the aggregate/selector operation, and then we put them back into the
same window so they are within the same table as they originally were
located in. This is now reflected in the spec and the code.
2018-07-05 15:34:26 -05:00
Jonathan A. Sternberg
ab5f7fc615
feat(query/functions): allow window to ignore the global boundaries of the query
2018-07-05 13:32:23 -05: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
Jonathan A. Sternberg
144d9f25fd
feat(query/functions/storage): switch to using the grpc client
2018-06-28 14:03:39 -05: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
Mark Rushakoff
638574b131
feat(query): add organization lookup to storage dependencies
...
This is needed for the `to` function to write to buckets in another
organization.
2018-06-15 07:30:12 -07:00
Nathaniel Cook
8fcdfff945
fix(query): Fix panic when there are multiple storage hosts
2018-06-15 14:45:34 +01:00
Nathaniel Cook
d1ca38c71f
chore(ifql): Rename IFQL to Flux
2018-06-11 09:26:10 -06:00
Jorge Landivar
8a5d649d3f
Merge pull request #59 from influxdata/tokafka
...
a toKafka function
2018-06-05 21:32:32 -05:00
Nathaniel Cook
6b2cf4e666
Merged pull request #96 from influxdata/nc-query-builtin
...
chore(query/builtin): Add package to formalize query builtin initialization
2018-05-31 12:07:49 -06: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
Adam
3faef7dfa9
fix CSV parameter validation so it only checks for file existence when required ( #89 )
...
* fix(query/functions/): fromCSV bugfix in parameter validation
* fix(query/functions): add from_csv_test.go
2018-05-31 12:59:45 -04:00
Nathaniel Cook
00da26963c
Merged pull request #74 from influxdata/nc-limit-offset
...
feat(query/functions/limit): Add offset to limit functions
2018-05-30 12:44:36 -06:00
Nathaniel Cook
3a6c1024b0
Merged pull request #66 from influxdata/nc-table-sort
...
fix(query): Tables are sorted by Partition Key
2018-05-30 12:42:56 -06:00
Nathaniel Cook
27b472a681
Merged pull request #70 from influxdata/nc-window
...
fix(query/functions/window): Fix window asignment bug
2018-05-30 10:25:03 -06:00
Nathaniel Cook
cbd219941a
feat(query/functions/limit): Add offset to limit functions
2018-05-30 10:19:39 -06:00
Nathaniel Cook
c583a23f6c
fix(query): Tables are sorted by Partition Key
2018-05-29 16:41:46 -06:00
Nathaniel Cook
ffa065abc2
fix(query/functions/window): Fix window asignment bug
2018-05-29 14:54:16 -06:00
Stuart Carnie
d7db5f3218
chore(storage): Update RPC protobuf
2018-05-29 10:50:51 -07:00
j. Emrys Landivar (docmerlin)
97652242e8
Remove commented-out code
2018-05-29 09:53:56 -05:00
j. Emrys Landivar (docmerlin)
fce46a3cbd
a toKafka function
2018-05-28 02:33:40 -05:00
Nathaniel Cook
15a801e9a2
fix(query): Fix default group mode
2018-05-25 15:16:11 -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
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
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
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
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
Adam
64e3c840ea
Relocated several source files from private repo to here.
2018-05-17 11:35:53 -04:00