kodiakhq[bot]
a2ed6a1b75
Merge branch 'main' into combine-non-overlapping-chunks
2022-02-02 20:47:51 +00:00
Andrew Lamb
766bf9826c
refactor: remove unecessary #allow lints ( #3615 )
...
* refactor: remove unecessary #allow lints
* fix: clippy
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-02 20:23:08 +00:00
Carol (Nichols || Goulding)
a534136ccc
fix: Correct a 'long' argument name so the ingester command can run ( #3621 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-02 20:09:41 +00:00
Andrew Lamb
c4a234e83c
feat: Allow sql test runner to compare sorted output ( #3618 )
...
* refactor: Add Query struct
* feat: Implement sorted checking
* refactor: port some sql tests over
* fix: fmt
* fix: Apply suggestions from code review
Co-authored-by: Edd Robinson <me@edd.io>
Co-authored-by: Edd Robinson <me@edd.io>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-02 19:59:52 +00:00
Andrew Lamb
429d59f1b6
feat: Simplify predicates in the `InfluxRpcFrontend` before using them ( #3588 )
...
* feat: normalize + simplify RPC predicates before using them
* docs: Update predicate/src/rpc_predicate.rs
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-02 19:46:57 +00:00
kodiakhq[bot]
48daede8d7
Merge pull request #3576 from influxdata/dom/schema-validation
...
feat(router2): write schema validation!
2022-02-02 19:36:45 +00:00
Raphael Taylor-Davies
8a8de19fb5
feat: combine non-overlapping chunks without deletes
2022-02-02 16:40:30 +00:00
kodiakhq[bot]
9079baf19a
Merge branch 'main' into dom/schema-validation
2022-02-02 16:27:35 +00:00
Andrew Lamb
030a2cb4c1
chore: Update datafusion ( #3613 )
...
* chore: Update datafusion
* fix: update for latest DF API
* fix: another API change
* fix: clippy
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-02 16:27:11 +00:00
kodiakhq[bot]
6de8ed4adc
Merge branch 'main' into dom/schema-validation
2022-02-02 16:05:41 +00:00
Carol (Nichols || Goulding)
62a2ad289b
feat: Implement deserializing IoxMetadata from protobuf ( #3589 )
...
Fixes #3587 .
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-02 16:05:21 +00:00
kodiakhq[bot]
8c5f12cd99
Merge pull request #3610 from influxdata/feat/catalogue-cli-update-topic
...
feat: catalog CLI command with update subcommand
2022-02-02 15:47:26 +00:00
kodiakhq[bot]
61f8764326
Merge branch 'main' into feat/catalogue-cli-update-topic
2022-02-02 15:38:05 +00:00
Raphael Taylor-Davies
b2669a8525
feat: increase trace buffer size ( #3614 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-02 15:37:50 +00:00
Luke Bond
6da15d9690
chore: cleanup catalog CLI output & args
...
Co-authored-by: Marco Neumann <marco@crepererum.net>
2022-02-02 15:30:19 +00:00
Luke Bond
15827a534b
feat: catalog CLI command with update subcommand
2022-02-02 15:30:19 +00:00
Marko Mikulicic
c2bd9945de
fix: Use recommended ubuntu mirror ( #3612 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-02 15:27:07 +00:00
Dom Dwyer
26c033d529
style: return directly
2022-02-02 15:20:48 +00:00
Andrew Lamb
55daf95b48
refactor: Consolidate more query_test DbSetups ( #3607 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-02 15:16:56 +00:00
Andrew Lamb
5d5310351b
refactor: Move query_test readme to standard location ( #3608 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-02 15:06:13 +00:00
Dom Dwyer
4744c5804e
refactor: remove Dashmap
...
Swap Dashmap for a regular RwLock<HashMap<..,>> due to soundness issues:
https://rustsec.org/advisories/RUSTSEC-2022-0002
2022-02-02 14:04:53 +00:00
Dom Dwyer
39d489d9e7
refactor: enable schema validation
...
Adds the SchemaValidator to the DML handler stack - this adds it into
the request path in router2.
2022-02-02 14:04:14 +00:00
Dom Dwyer
6598023726
feat: cache NamespaceSchema in validator
...
Adds an in-memory cache of table schemas to the SchemaValidator DML
handler.
The cache pulls from the global catalog when observing a column for the
first time, and pushes the column type to set it for subsequent requests
if it does not exist (this pull & push is done by atomically by the
catalog in an "upsert" call).
The in-memory cache is sharded by namespace, with each shard guarded by
an individual lock to minimise contention between readers (the expected
average case) and writers (only when adding new columns/tables).
Relies on the catalog to serialise new column creation and validate
parallel creation requests.
2022-02-02 13:04:53 +00:00
Dom Dwyer
c81f207298
feat: schema validation
...
Implements a write schema validation DML handler, denying requests that
conflict with the schema within the global catalog. Additive schema
changes are accepted, incrementally updating the global catalog schema.
Deletes are passed through unchanged and unvalidated.
2022-02-02 13:04:53 +00:00
Dom Dwyer
f9f9beac36
refactor: get_schema_by_name no Option
...
Fetching a NamespaceSchema always succeeds and never returns None.
2022-02-02 13:04:53 +00:00
Marko Mikulicic
7b2b5b7ebd
chore: Use ubuntu mirror in test_perf ( #3609 )
2022-02-02 12:37:44 +00:00
kodiakhq[bot]
dc1718421a
Merge pull request #3606 from influxdata/er/feat/rpc_cli
...
feat: add skeleton `storage` CLI command
2022-02-02 12:06:47 +00:00
Edd Robinson
5441682207
feat: add support for parsing predicate
2022-02-02 11:02:33 +00:00
Edd Robinson
08901c13cd
feat: support parsing timerange
2022-02-02 11:02:33 +00:00
Edd Robinson
a424d1c912
feat: shell command read_filter
2022-02-02 11:02:33 +00:00
Edd Robinson
c1f5994660
refactor: move sql parsing -> RPC predicate into own crate ( #3604 )
...
* chore: create crate
* refactor: move module to new crate
2022-02-02 10:41:57 +00:00
Marco Neumann
9567acd621
feat: expose all relevant configs for rskafka write buffers ( #3599 )
...
* feat: expose all relevant configs for rskafka write buffers
* refactor: `CreationConfig` => `TopicCreationConfig`
2022-02-02 09:35:54 +00:00
kodiakhq[bot]
6b3851242e
Merge pull request #3602 from influxdata/alamb/null_not_null
...
fix: handle IS NULL / IS NOT NULL during rpc rewrite
2022-02-01 22:52:04 +00:00
Andrew Lamb
b03c900174
fix: handle IS NULL / IS NOT NULL during rpc rewrite
2022-02-01 13:48:58 -05:00
kodiakhq[bot]
323d873a37
Merge pull request #3600 from influxdata/alamb/case_fold
...
feat: Fold past CASE blocks / translate to boolean CASE
2022-02-01 18:11:55 +00:00
Andrew Lamb
0570662da2
feat: Fold past CASE blocks / translate to boolean CASE
2022-02-01 12:24:33 -05:00
kodiakhq[bot]
46d43b865f
Merge pull request #3597 from influxdata/er/refactor/read_buffer_clippy
...
refactor: introduce to_string clippy lints in read buffer
2022-02-01 16:36:03 +00:00
Edd Robinson
37ad778603
Merge branch 'main' into er/refactor/read_buffer_clippy
2022-02-01 16:25:12 +00:00
Marco Neumann
36a7d9b8f3
feat: flush interface for write buffer producers ( #3595 )
...
Closes #3504 .
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-01 15:16:23 +00:00
Edd Robinson
04a85515d3
Merge branch 'main' into er/refactor/read_buffer_clippy
2022-02-01 15:11:00 +00:00
Edd Robinson
04a59f825f
refactor: fix clippy lints
2022-02-01 14:56:49 +00:00
Edd Robinson
fa546047fb
refactor: update dep with API change ( #3596 )
2022-02-01 14:53:10 +00:00
Edd Robinson
2f3cc046f6
chore: enable to_string restrictive lints
2022-02-01 14:47:30 +00:00
kodiakhq[bot]
42fddf5fc4
Merge pull request #3594 from influxdata/er/feat/parse_sql_rpc
...
feat: add support for parsing sql expressions into RPCNode
2022-02-01 14:05:12 +00:00
Edd Robinson
443fd00c1b
Merge branch 'main' into er/feat/parse_sql_rpc
2022-02-01 13:55:08 +00:00
Edd Robinson
1f0f6dad45
refactor: address PR feedback
2022-02-01 13:54:43 +00:00
Marco Neumann
59a2c74352
refactor: reusable ingester/router2 CLI pieces ( #3590 )
...
* refactor: use a single CLI parser for ingester/router2 WB
* refactor: reusable catalog DSN CLI handling
We are going to need DSN handling for the router as well as for the some
admin tools.
* fix: DNS -> DSN
2022-02-01 12:57:58 +00:00
Edd Robinson
506363dd1c
refactor: expose API to generate RPC predicate
2022-02-01 12:47:37 +00:00
Marco Neumann
0a2cb36ddf
fix: workspace-hack ( #3593 )
2022-02-01 12:32:58 +00:00
Edd Robinson
0b9315bfaa
test: check _measurement and _field
2022-02-01 12:21:35 +00:00