Commit Graph

5510 Commits (e838a22f9252b692554e4d63c109ab8028228c29)

Author SHA1 Message Date
Carol (Nichols || Goulding) e838a22f92 refactor: Make TestDbBuilder reusable for rebuilding databases
Many tests want to exercise behavior that happens on reloading or
replay of a database. This changes the way the TestDbBuilder works to
make it possible to call `build` on a builder multiple times to create
databases with the same options to simulate reload of a database without
having to keep track of which pieces need to match.
2021-10-22 14:31:31 -04:00
Andrew Lamb fe155e15fb
fix: fix flaky test (#2939)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-22 17:08:27 +00:00
kodiakhq[bot] e3ae1d27a8
Merge pull request #2941 from influxdata/ntran/field_columns_tests
test: Make field_columns test outputs consistent with the ones we send back to client
2021-10-22 17:01:13 +00:00
kodiakhq[bot] 5d3e838475
Merge branch 'main' into ntran/field_columns_tests 2021-10-22 16:50:35 +00:00
Nga Tran 87f4c418ae chore: Merge branch 'ntran/field_columns_tests' of https://github.com/influxdata/influxdb_iox into ntran/field_columns_tests 2021-10-22 12:40:35 -04:00
Nga Tran e733562da8 chore: fix comment 2021-10-22 12:39:56 -04:00
Nga Tran f9cb947eba chore: fix comment 2021-10-22 12:22:12 -04:00
Nga Tran f9dedd78da test: Make test outputs consistent with the ones we send back to client 2021-10-22 12:19:30 -04:00
kodiakhq[bot] ef94a54f6c
Merge pull request #2936 from influxdata/er/test/read_buffer/null_column
test: add null column to test
2021-10-22 15:03:02 +00:00
kodiakhq[bot] 4ff21f402d
Merge branch 'main' into er/test/read_buffer/null_column 2021-10-22 14:55:35 +00:00
kodiakhq[bot] c0ef7e7225
Merge pull request #2925 from influxdata/er/refactor/displau
refactor: use Expr Display impl
2021-10-22 14:43:12 +00:00
kodiakhq[bot] 3367ec3db3
Merge branch 'main' into er/refactor/displau 2021-10-22 14:36:04 +00:00
Edd Robinson 84a00cd5b6 refactor: comma 2021-10-22 15:35:24 +01:00
Edd Robinson 8d267e5840
Merge branch 'main' into er/test/read_buffer/null_column 2021-10-22 15:28:39 +01:00
kodiakhq[bot] 7367c75dac
Merge pull request #2937 from influxdata/er/fix/read_buffer/null_values
fix: ensure correct distinct count on all-null Read Buffer columns
2021-10-22 12:53:37 +00:00
Edd Robinson b3242277eb test: test_field_name_plan_with_delete is fixed 2021-10-22 13:07:36 +01:00
Edd Robinson 7a5263d709 refactor: tidy up column summary to stats 2021-10-22 13:04:42 +01:00
Edd Robinson cfd980d1bc fix: only string columns have distinct counts 2021-10-22 13:04:10 +01:00
Edd Robinson 09a2d805b9 refactor: restore concept of NULL value 2021-10-22 13:03:16 +01:00
Edd Robinson 8b406b4f91 test: update table_summaries test 2021-10-22 12:06:56 +01:00
Edd Robinson a3e750c9fc test: add null column to test 2021-10-22 11:27:06 +01:00
Edd Robinson 430e59331a
Merge branch 'main' into er/refactor/displau 2021-10-22 09:43:46 +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
Edd Robinson 3d9f9ea53e refactor: use Expr Display impl 2021-10-21 22:43:13 +01: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