Lorenzo Affetti
d18c6e5ffe
fix(query/stdlib/influxdb): return error on point explosion ( #12774 )
2019-03-20 15:45:31 +01:00
jlapacik
adbfddb0ef
Flux staging ( #12760 )
...
* deps: update flux-staging to master of both influxdb and flux (#12698 )
* test(stdlib): skip failing window test due to new trigger optimization (#12708 )
* chore: update Flux to v0.22.0
2019-03-19 22:19:24 -07:00
Mark Rushakoff
490499267b
fix(query): allow multiple calls to Release proxy bridge iterator
...
The asyncStatsResultIterator used inside QueryServiceProxyBridge assumed
that Release would only be called once. The godoc for ResultIterator
specifies that it is safe to call Release multiple times. Now, you can
do that without causing Release to block indefinitely.
2019-03-19 16:06:43 -07:00
jlapacik
9324d5c1a1
test(stdlib): skip failing window test due to new trigger optimization ( #12708 )
2019-03-19 09:16:47 -07:00
Jonathan A. Sternberg
862f168967
deps: update flux-staging to master of both influxdb and flux ( #12698 )
2019-03-18 16:13:02 -05:00
jlapacik
124a2c6b6c
test(stdlib): fix mismatched planner node types ( #12695 )
2019-03-18 14:54:48 -05:00
Jonathan A. Sternberg
0d045630c8
fix(query): release the query results before requesting statistics ( #12622 )
...
The statistics are only finalized after release is called. Defer a call
to release to ensure they are released, but explicitly release on
success to ensure that the statistics are finalized from all sources
before returning them.
2019-03-14 11:12:53 -05:00
Jonathan A. Sternberg
e3ac5ffecf
feat(query/mock): create a mock object for the query interface ( #12628 )
2019-03-14 11:08:48 -05:00
Kelvin Wang
dcc052b1c2
fix(query): fix same bucket name with different orgs
2019-03-08 20:37:05 -05:00
Jacob Marble
603a1f26e0
use tracing.StartSpanFromContext
2019-03-07 12:12:31 -07:00
Jacob Marble
ed4e3e130b
return n with error
2019-03-07 12:12:31 -07:00
Jacob Marble
9541e861a3
goimports -w -local github.com/influxdata/influxdb
2019-03-07 12:12:31 -07:00
Jacob Marble
92fa813c45
add spans to multiple services
2019-03-07 12:12:31 -07:00
Christopher M. Wolff
e28ecdc0e9
refactor(query): make queryd present ProxyQueryService ( #12360 )
...
Fixes influxdata/idpe#2014 .
2019-03-07 07:32:13 -08:00
Jonathan A. Sternberg
9549cc4d97
fix(storage/reads): track memory allocations when reading from storage ( #12404 )
2019-03-06 15:29:45 -06:00
Jacob Marble
b9c7ec439e
feat(influxd): Tracing refactor ( #12318 )
...
* feat(launcher): Tracing to log disabled by default
* remove traceLogger and use opentracing directly
* add Jaeger tracing
* go vet && go fmt
2019-03-04 11:48:11 -08:00
Ben Johnson
12d35f1a50
Revert "Merge point parse & explode."
...
This reverts commit 1004abc3e1
.
2019-03-02 06:23:04 -07:00
Ben Johnson
1004abc3e1
Merge point parse & explode.
2019-03-01 15:55:37 -07:00
Jonathan A. Sternberg
70507670c3
feat(storage/reads): add scanned values and bytes metadata to the query ( #12156 )
...
This updates influxdb to use the new arbitrary metadata that can be
attached by a source and adds metadata entries for the cursor
statistics.
2019-02-25 14:44:18 -06:00
Nathaniel Cook
26e7f641b7
Merge branch 'master' into flux-staging
2019-02-25 13:00:28 -07:00
Michael Desa
0d3d0d4d78
chore(influxdb): add context to storage.PointsWriter
2019-02-25 11:11:20 -05:00
Lorenzo Affetti
cf81141689
fix(e2e-tests): make task use default bucket from user fixture ( #12139 )
...
* fix(e2e-tests): make task use default bucket from user fixture
* fix(query_test): update pre-auth test now that from is bucket aware
2019-02-25 12:38:04 +01:00
Lorenzo Affetti
5369c189b0
Merge pull request #11894 from influxdata/fix/buckets-accessed
...
fix(query/stdlib/influxdb): make FromOpSpec a BucketAwareSpec
2019-02-25 09:16:55 +01:00
Adam
4c0262befe
test(stdlib/testing): added new test driver to run builtin tests ( #11916 )
2019-02-21 22:03:29 -05:00
Mark Rushakoff
0977a651df
fix(task): create authorization when using token to create task
2019-02-15 12:11:55 -08:00
Lorenzo Affetti
b68043ae8c
fix(query/stdlib/influxdb): make FromOpSpec a BucketAwareSpec
2019-02-14 17:38:48 +01:00
Jonathan A. Sternberg
f30820cb46
fix(query/influxql): normalize selectors when an interval is present ( #11760 )
...
The selector will be normalized to the start time interval when `GROUP
BY time(X)` is present in the query.
2019-02-11 10:51:59 -06:00
Christopher Wolff
698de51e67
refactor(query): update to reflect changes to windows
2019-02-08 08:39:52 -08:00
Christopher Wolff
3e8b0fe807
refactor(query): separate "from" into logical and physical procedures
...
Fixes influxdata/flux#270 .
2019-02-07 12:59:54 -08:00
Jonathan A. Sternberg
204d919a92
refactor(query/influxql): use ast compile function from flux ( #11749 )
2019-02-07 10:02:23 -06:00
Jonathan A. Sternberg
8b20b52f51
refactor(query/influxql): modify the transpiler interface to produce an AST ( #11662 )
...
This refactors everything to generate and use a flux AST when
transpiling an influxql query. This also updates the spectests so they
use flux instead of writing out the AST and compare the resulting
AST's.
2019-02-06 10:18:33 -06:00
Lorenzo Affetti
c0ba465604
fix: multiple compatibility issues with flux@master
2019-02-05 17:46:54 +01:00
Lorenzo Affetti
ce00375298
refactor(query/stlib): move from implementation from Flux
2019-02-05 17:46:46 +01:00
Nathaniel Cook
d4d8bdd3a0
refactor(query): update import path for CreateSourceFromDecoder
2019-01-22 14:36:31 -07:00
Lyon Hill
c4e71bf412
Use orgID when to function reports its write buckets. ( #11363 )
...
* Use orgID when to function reports its write buckets.
fixes #11231
2019-01-22 14:13:50 -07:00
Mark Rushakoff
10b7e087e7
fix(query): improve preauthorizer errors on unknown buckets
...
When trying to create a task that writes to an unknown bucket,
previously the error message would resemble:
could not find bucket {<nil> 0xc0000dfcc0 <nil> 0xc0000dfce0}: <not found> bucket not found
Now print something human-readable:
could not find write bucket with filter: [Bucket Name: b, Org Name: a]: <not found> bucket not found
2019-01-18 16:22:15 -08:00
Michael Desa
c60031a6b7
fix(influxdb): change resource to resource type
2019-01-15 12:57:57 -05:00
Nathaniel Cook
d0603457b7
refactor(flux): make packages mirror Flux namespaces
2019-01-14 18:00:45 -07:00
Nathaniel Cook
622106caaa
Merge branch 'master' into flux-staging
2019-01-14 17:03:57 -07:00
Jorge Landivar
f8f1c1e7b6
Merge pull request #10954 from influxdata/feature/update_task_options
...
feat(tasks): update task options from api
2019-01-11 14:58:10 -06:00
Nathaniel Cook
3a2231be98
Merge branch 'master' into flux-staging
2019-01-11 13:47:49 -07:00
Nathaniel Cook
1708a41fa7
refactor: update query functions for Flux builtins
2019-01-11 13:11:57 -07:00
j. Emrys Landivar (docmerlin)
a2674fa03d
feat(tasks): update task options from api
2019-01-11 11:55:46 -06:00
Michael Desa
944de4157a
fix(influxdb): add org id to permissions
...
filter out resources that have mission IDs
fix(influxdb): simplify auth check in PermissionAllowed
review(platform): update as noted in review
fix(influxdb): ensure permission has valid org id
2019-01-11 12:23:28 -05:00
jlapacik
5266cba346
deps: updates for packages and imports ( #10962 )
2019-01-10 14:33:25 -08:00
Jonathan A. Sternberg
a59e6b8d25
refactor: rename DoArrow to Do ( #2372 )
...
See influxdata/flux#783 for details.
2019-01-10 10:30:25 -07:00
Jonathan A. Sternberg
6ccb8e8c75
refactor: convert usages of ColReader to ArrowColReader
2019-01-10 10:25:10 -07:00
Mark Rushakoff
d73d73c0d4
chore: rename imports from platform to influxdb
...
I did this with a dumb editor macro, so some comments changed too.
Also rename root package from platform to influxdb.
In interest of minimizing risk, anyone importing the root package has
now aliased it to "platform" so that no changes beyond imports were
necessary in those files.
Lastly, replace the old platform module to local path /dev/null so that
nobody can accidentally reintroduce a platform dependency while
migrating platform code to influxdb.
2019-01-09 20:51:47 -08:00
Adam
fa35dea009
feat(query/functions/tests): end to end testing is configured to run against a live storage engine.
...
all tests use a unique bucket based on the test file name. copied all tests over from flux repo
the tests are currently disabled due to engine consistency issues: https://github.com/influxdata/flux/issues/613
2019-01-07 13:05:29 -05:00
Adam
9a561f8b53
manually merged addition of secrets to launcher
2019-01-02 15:42:55 -05:00