Andrew Lamb
0b3df2ab50
fix: reduce verbosity of logs ( #3159 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-11-19 10:03:27 +00:00
Raphael Taylor-Davies
3d091208af
refactor: move delete predicate into data_types ( #2731 ) ( #3094 )
...
* refactor: move delete predicate into dml (#2731 )
* refactor: move DeletePredicate to data_types
* chore: fix doc
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-11-15 10:28:58 +00:00
Nga Tran
97206b13cb
fix: statistics for max/min(time) should have data type timstamp
2021-11-05 18:11:54 -04:00
Andrew Lamb
5e86989990
fix: Only use timestamps in first/last when there is a corresponding … ( #2988 )
...
* fix: Only use timestamps in first/last when there is a corresponding value
* docs: Fix broken English in comment
* docs: clarify expectations in test
2021-11-01 18:54:43 +00:00
dependabot[bot]
1b377f0377
chore(deps): bump tokio-stream from 0.1.7 to 0.1.8
...
Bumps [tokio-stream](https://github.com/tokio-rs/tokio ) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.7...tokio-stream-0.1.8 )
---
updated-dependencies:
- dependency-name: tokio-stream
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 11:38:59 +00:00
dependabot[bot]
c540b40f05
chore(deps): bump tokio from 1.12.0 to 1.13.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.12.0...tokio-1.13.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 11:21:59 +00:00
dependabot[bot]
a1f978e280
chore(deps): bump tokio-util from 0.6.8 to 0.6.9
...
Bumps [tokio-util](https://github.com/tokio-rs/tokio ) from 0.6.8 to 0.6.9.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.6.8...tokio-util-0.6.9 )
---
updated-dependencies:
- dependency-name: tokio-util
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 01:28:41 +00:00
Andrew Lamb
d2c2143277
fix: wrong results in read_filter with "complex" OR predicate and IS_NULL ( #2977 )
...
* fix: Allow evaluating general purpose predicates in gRPC by rewriting missing columns to null
* fix: update commands and add some additional tests
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-29 14:30:28 +00:00
kodiakhq[bot]
6760212e86
Merge branch 'main' into ntran/group
2021-10-26 21:25:57 +00:00
Nga Tran
5c2a5e1030
fix: fmt after appying review comments
2021-10-26 17:17:35 -04:00
Nga Tran
6950e7a9b6
chore: Apply suggestions from code review
...
Co-authored-by: Andrew Lamb <alamb@influxdata.com>
2021-10-26 17:08:07 -04:00
Nga Tran
8c43b24745
chore: cleanup
2021-10-26 16:46:50 -04:00
Nga Tran
46cb4df14d
fix: now no rows will be return for read_group if the table has no data or all its data is soft deleted or the table does not exist
2021-10-26 16:40:36 -04:00
Andrew Lamb
39b3b8d33f
fix: Logical merge conflicts
2021-10-25 13:47:10 -04:00
Andrew Lamb
7cd56cbc56
Merge remote-tracking branch 'origin/main' into er/fix/flux/2691
2021-10-25 13:41:08 -04:00
Marco Neumann
bc7244c48e
chore: use Rust edition 2021
2021-10-25 10:58:20 +02:00
Andrew Lamb
52cf1a85b9
fix(metadata): Do not report table_names for tables that have no non-null values that match predicate ( #2947 )
...
* fix(metadata): Do not report table_names for tables that have no non-null values that match predicate
* fix: make apply_predicate_to_metadata precise
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-24 11:03:30 +00:00
Andrew Lamb
28962038c1
fix: properly handle null values in table_name plan ( #2946 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-23 10:35:02 +00:00
Edd Robinson
eb71102d82
Merge branch 'main' into er/fix/flux/2691
2021-10-22 20:21:22 +01:00
Andrew Lamb
e8ddc4e0db
feat: Add custom `NonNullChecker` operator that checks for non-null values in columns ( #2944 )
...
* feat: Add custom `NonNullChecker` operator that checks for non-null values in columns
* fix: remove println
* fix: typo
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-22 18:53:20 +00: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
Edd Robinson
4464114330
Merge branch 'main' into er/fix/flux/2691
2021-10-22 09:43:35 +01:00
Carol (Nichols || Goulding)
654d33684a
fix: Move code shared between if/else blocks out
2021-10-21 20:47:35 -04:00
Edd Robinson
8898631034
refactor: update query/src/frontend/influxrpc.rs
2021-10-21 22:38:20 +01:00
Edd Robinson
fc7ce3535d
refactor: fix _value filtering for non-selector aggregates
2021-10-21 22:28:41 +01:00
Edd Robinson
f8489fc774
refactor: ensure _value filtering works read_filter
2021-10-21 22:28:41 +01:00
Edd Robinson
8a70bd898b
feat: add _value support to selector aggregates
2021-10-21 22:28:38 +01:00
Edd Robinson
0cb9751b0a
refactor: extract _value expr from predicate
2021-10-21 22:26:32 +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
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
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
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
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
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
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
Nga Tran
e664799593
feat: support delete for tag_values
2021-10-19 14:18:01 -04:00
kodiakhq[bot]
254a842eed
Merge branch 'main' into ntran/table_names
2021-10-19 17:53:25 +00:00
Andrew Lamb
d5cffb5f54
fix(read_window_aggregates): return aggregates as integer rather than unsigned ( #2906 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-19 17:47:15 +00:00
Nga Tran
c755678aa1
refactor: address review comments
2021-10-19 13:41:41 -04:00
Nga Tran
cabb007956
chore: Merge branch 'main' into ntran/table_names
2021-10-19 13:22:28 -04:00
Andrew Lamb
a82dc6f5f0
chore: Update datafusion + arrow ( #2903 )
...
* chore: Update datafusion to latest, arrow to 6.0.0
* fix: Update tests
* fix: bubble internal error
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-19 17:14:08 +00:00
Nga Tran
ea85d6478e
chore: remove code changes for table_names abecause normal plan needs to be implemented first
2021-10-19 10:36:10 -04:00