Commit Graph

5488 Commits (a3e750c9fcca211cf528574fa39f75bab5889870)

Author SHA1 Message Date
Edd Robinson a3e750c9fc test: add null column to test 2021-10-22 11:27:06 +01:00
kodiakhq[bot] bafaa7c58e
Merge pull request #2934 from influxdata/cn/update-rust
chore: Update Rust
2021-10-22 06:56:58 +00:00
Carol (Nichols || Goulding) 654d33684a fix: Move code shared between if/else blocks out 2021-10-21 20:47:35 -04:00
Carol (Nichols || Goulding) bb05ab4191 chore: Update Rust 2021-10-21 20:23:29 -04:00
Marco Neumann f7ca80e29f
test: ensure query cancellation (somewhat) works (#2931)
* feat: enable reconfiguration of in-use throttled store

This is handy for tests for which a part should run "normal" and another
one should be throttled/blocked.

* feat: keep track of the number of tasks within a `DedicatedExecutor`

* test: ensure query cancellation (somewhat) works

We cannot really test that query cancellation finishes all subtasks
because _tokio_ doesn't provide sufficient stats / inspection, at least
as long we don't want to rely heavily on _tokio_ tracing. So let's at
least check that tasks from the dedicated executors are pruned properly.

For all other regressions we need to add unit tests to the affected
components. See for example:

- https://github.com/apache/arrow-datafusion/issues/1103
- https://github.com/apache/arrow-datafusion/pull/1105
- https://github.com/apache/arrow-datafusion/pull/1112
- https://github.com/apache/arrow-datafusion/pull/1121

Closes #2027.
2021-10-21 19:10:58 +00:00
Andrew Lamb c6858285e5
chore: Allow bypassing 'backwards compatibility' protobuf linting with a label (#2922)
* chore: Allow bypassing 'backwards compatibility' protobuf linting with label

* chore: feedback review

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-21 15:06:45 +00:00
Raphael Taylor-Davies c9ff8f0f9f
fix: rollback new columns for failed writes (#2930)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-21 14:39:29 +00:00
Raphael Taylor-Davies d2b41c5a13
feat: write pbdata to MutableBatch (#2724) (#2927)
* feat: write pbdata to MutableBatch (#2724)

* chore: review feedback

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-21 14:32:35 +00:00
kodiakhq[bot] 2a1daa5d58
Merge pull request #2923 from influxdata/ntran/flux_table_names
feat: support delete for table_names influxrpc
2021-10-21 13:20:14 +00:00
kodiakhq[bot] 4bd7f071e2
Merge branch 'main' into ntran/flux_table_names 2021-10-21 13:13:50 +00:00
Andrew Lamb 0247ffee1d
chore: Enable 'breaking backwards compatibility' protobuf linter (#2919)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-21 12:37:24 +00:00
Raphael Taylor-Davies 297f995a44
feat: partition MutableBatch rows (#2926)
* feat: partition MutableBatch rows

* chore: review feedback

* chore: review feedback

* chore: fmt
2021-10-21 12:30:13 +00:00
Raphael Taylor-Davies 272e43492a
feat: mutable batch filtering (#2920)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-21 12:06:26 +00:00
Raphael Taylor-Davies d5d885aac6
feat: add MutableBatch::extend_from_range (#2917)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-21 11:58:11 +00:00
kodiakhq[bot] 1965f9c260
Merge pull request #2915 from influxdata/tzclarify
fix(logfmts): Update doc
2021-10-21 08:40:32 +00:00
kodiakhq[bot] 1a10aebdd9
Merge branch 'main' into tzclarify 2021-10-21 08:34:15 +00:00
Raphael Taylor-Davies f64e749eb9
feat: write line protocol to MutableBatch (#2914)
* feat: write line protocol to MutableBatch

* chore: fix lint

* chore: review feedback

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-21 08:12:54 +00:00
Nga Tran aecbdc0468 chore: merge main to branch 2021-10-20 17:09:02 -04:00
Nga Tran 995ffd43f6 chore: run fmt 2021-10-20 16:56:21 -04:00
Nga Tran d9b034cfaa chore: cleanup 2021-10-20 16:08:14 -04:00
Nga Tran 97d5760347 feat: support delelete for table_names 2021-10-20 15:58:25 -04:00
Marko Mikulicic ae8947868a
fix(logfmts): Update doc 2021-10-20 17:58:22 +02:00
Andrew Lamb ee2ca8fc32
fix(read_group): Support grouping on `_start` and `_stop` (#2918)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-20 15:16:47 +00:00
kodiakhq[bot] 0c709baaf4
Merge pull request #2910 from influxdata/er/fix/flux/2845
fix: teach IOx about _value and _field filtering
2021-10-20 14:35:22 +00:00
Edd Robinson 5ecbcfd7e4
Merge branch 'main' into er/fix/flux/2845 2021-10-20 15:23:47 +01:00
Edd Robinson 438cd1767a refactor: update query/src/frontend/influxrpc.rs
Co-authored-by: Andrew Lamb <alamb@influxdata.com>
2021-10-20 15:00:07 +01:00
Edd Robinson a96284e120 test: use rewriter properly 2021-10-20 14:59:27 +01:00
Edd Robinson 5059d9cf8a test: add _field filter coverage to window_aggregate 2021-10-20 14:59:27 +01:00
Edd Robinson 3db48d1460 test: add _field filter coverage to read_group 2021-10-20 14:59:27 +01:00
Edd Robinson a0ba75576e fix: add support for rewriting field column 2021-10-20 14:59:27 +01:00
Edd Robinson 7d86d1144e test: add coverage for field value rewriter 2021-10-20 14:59:27 +01:00
Edd Robinson 3fe8f64aa4 feat: add support for filtering on _value 2021-10-20 14:59:27 +01:00
Edd Robinson f85a9f15b1 refactor: plumb schema to TableNormalizedPredicate 2021-10-20 14:59:27 +01:00
Edd Robinson f397f0b4ac test: add test for defect 2021-10-20 14:59:27 +01:00
kodiakhq[bot] 6e81bde4f0
Merge pull request #2887 from influxdata/cn/write-db-owner-file
feat: Write owner info in the database's object store directory
2021-10-20 13:58:21 +00:00
kodiakhq[bot] f4eb3884f3
Merge branch 'main' into cn/write-db-owner-file 2021-10-20 13:51:45 +00:00
Raphael Taylor-Davies 2aa1e24b89
feat: arrow_util extend_from_range (#2904)
* feat: arrow_util extend_from_range

* chore: review feedback
2021-10-20 13:11:43 +00:00
kodiakhq[bot] 25bc3d8aec
Merge pull request #2913 from influxdata/tzlogfmts
fix(logfmts): Use UTC for ./scripts/logfmts
2021-10-20 12:48:08 +00:00
Edd Robinson 596d8aa5de
Merge branch 'main' into tzlogfmts 2021-10-20 13:42:12 +01:00
Edd Robinson fe5eea37da
refactor: downgrade logs to trace (#2912)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-20 12:41:51 +00:00
Marko Mikulicic ae82236bc4
fix(logfmts): Use UTC for ./scripts/logfmts 2021-10-20 14:35:47 +02:00
Raphael Taylor-Davies 0b1e4a03a5
feat: add MutableBatch::extend_from (#2900)
* feat: add MutableBatch::extend_from

* chore: fix lint

* chore: improve panic message

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-20 12:31:06 +00:00
Andrew Lamb 9974a5364c
chore(security): Replace prettytable with comfy-table (#2905)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-20 10:44:36 +00:00
Raphael Taylor-Davies ce0127a1f7
feat: MutableBatch write API (#2090) (#2724) (#2882)
* feat: MutableBatch write API (#2090) (#2724)

* chore: fix lint

* fix: handle dictionaries with unused mappings

* chore: review feedback

* chore: further review feedback

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-20 08:44:14 +00:00
Nga Tran 8c058f791b chore: cleanup 2021-10-19 15:43:06 -04:00
Andrew Lamb b55ca06fe3
fix: read_window_aggregate overflow (#2908) 2021-10-19 19:20:39 +00:00
kodiakhq[bot] f2e833955c
Merge pull request #2907 from influxdata/ntran/tag_values
feat: support delete for tag_values
2021-10-19 18:42:18 +00:00
Nga Tran e664799593 feat: support delete for tag_values 2021-10-19 14:18:01 -04:00
kodiakhq[bot] 1bc6514dfa
Merge pull request #2902 from influxdata/ntran/table_names
feat: make tag_keys work with delete
2021-10-19 17:59:28 +00:00
kodiakhq[bot] 254a842eed
Merge branch 'main' into ntran/table_names 2021-10-19 17:53:25 +00:00