Commit Graph

1972 Commits (02d981451dc21c928a47157d1884a2823993d1ef)

Author SHA1 Message Date
kodiakhq[bot] 99891353f4
Merge branch 'main' into er/refactor/arc_warn 2021-02-15 13:29:17 +00:00
Andrew Lamb da39e4099c
feat: tool to graphically display plans (#803)
* feat: tool to graphically display plans

* docs: Add note to CONTRIBUTING.md

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-02-15 13:03:12 +00:00
Edd Robinson dfe6e50e26 refactor: add arc clone lint 2021-02-15 12:52:12 +00:00
Edd Robinson 8a85158a98 refactor: add arc clone lint 2021-02-15 12:40:19 +00:00
Edd Robinson 2b642a8da6 refactor: add arc clone lint 2021-02-15 12:38:19 +00:00
Edd Robinson 8eaf006c27 refactor: add arc clone lint 2021-02-15 12:35:21 +00:00
Edd Robinson e9f1b0f3e2 refactor: add arc clone lint 2021-02-15 12:35:14 +00:00
Edd Robinson 0fe590cedd refactor: move row/value concepts into module 2021-02-15 11:14:14 +00:00
Edd Robinson 11453eca46 refactor: move StringEncoding to module 2021-02-15 11:14:14 +00:00
Edd Robinson 3769724009 refactor: move BooleanEncoding into own module 2021-02-15 11:14:14 +00:00
Edd Robinson e2d798da05 refactor: move FloatEncoding to module 2021-02-15 11:14:14 +00:00
Edd Robinson cbf79cb822 refactor: use Self 2021-02-15 11:14:14 +00:00
Edd Robinson 1da4514112 refactor: move IntegerEncoding to own module 2021-02-15 11:14:14 +00:00
Edd Robinson edc217c783 refactor: move encodings 2021-02-15 11:14:14 +00:00
kodiakhq[bot] 77978ec677
Merge pull request #806 from influxdata/alamb/790_update_arrow
chore: Update arrow deps, remove make_null_column
2021-02-15 10:46:49 +00:00
Andrew Lamb 11c97a6235 fix: remove make_null_columns 2021-02-14 05:51:25 -05:00
Andrew Lamb 150baec84c chore: Update arrow dependencies 2021-02-14 05:47:23 -05:00
Paul Dix dc465e5d02 feat: Add function to check db size and drop partitions
Adds functionality to the server Db to check the mutable buffer size and drop partitions based on the database rules.
2021-02-13 17:19:40 -06:00
Paul Dix 83bfa6d949 feat: Add created_at, last_write_at tracking to partition and sorting
This commit adds created_at and last_write_at instants to partitions in the mutable buffer. It adds a method on the mutable buffer database to get back the partitions in sorted order based on either the created_at or last_write_at instants. Ordering based on the summary stats from a column are still left to do.

Finally, it modifies the helper function to create replicated write to take a Partitioner trait that can generate partition keys based on lines, rather than taking the DatabaseRules struct directly. This makes it easier to write test cases where data is split into multiple partitions in the mutable buffer.
2021-02-13 17:19:40 -06:00
Marko Mikulicic c1856d2946 ci: Add nightly-2021-02-12 to quay.io/influxdb/rust:ci 2021-02-12 18:03:37 +00:00
kodiakhq[bot] da0980edc7
Merge pull request #798 from influxdata/bytes-in-grpc
feat: Use Bytes instead of Vec<u8> in prost generated code
2021-02-12 17:20:02 +00:00
Raphael Taylor-Davies 6d3c21b952 feat: Use Bytes instead of Vec<u8> in prost generated code
Also add google.rpc.* Protobuf definitions
2021-02-12 17:10:58 +00:00
Marko Mikulicic 9e39e91139 chore: Cleaning things in prep for rust 2021
Also remove a NUL byte in a test string literal; some editors drop them.
2021-02-12 16:48:17 +00:00
Jake Goulding dad426d02e
fix: Report a failure to parse an AWS datetime (#794)
* fix: Report a failure to parse an AWS datetime

* refactor: use SNAFU context selectors instead of enum variants
2021-02-12 15:10:49 +00:00
Andrew Lamb b8f85967dd
feat: Enable/Disable logging in tests via RUST_LOG environment variable (#793)
* feat: Enable/Disable logging in tests via RUST_LOG environment variable

* docs: Add section to contributing

* docs: tweak readme

* fix: Use same logging system in tests as in influxdb_ioxd
2021-02-12 13:43:12 +00:00
Andrew Lamb a03598dfe2
feat: Implement Cross Chunk Schema / RecordBatch merging at query time (#783)
* feat: feat: Implement Cross Chunk Schema / RecordBatch merging at query time

* docs: update comments about NullArray::new_with-type

* docs: Update comments based on code review

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-02-11 18:26:38 +00:00
Marko Mikulicic c61923f05e fix: Avoid clashing ports when running e2e tests
Closes #745
2021-02-11 17:02:44 +00:00
Andrew Lamb 92d237988d
refactor: Change ReadBuffer column_names to return Option<BTreeSet> (#792)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-02-11 15:16:10 +00:00
kodiakhq[bot] 9ea6cbd317
Merge pull request #781 from influxdata/jg/flight-client
feat: Add an optional Flight client to the IOx client library
2021-02-11 14:43:41 +00:00
kodiakhq[bot] a242fc39aa
Merge branch 'main' into jg/flight-client 2021-02-11 14:29:54 +00:00
kodiakhq[bot] 112911d51a
Merge pull request #789 from influxdata/localhost
fix: Make --api-bind et.al. support localhost
2021-02-11 12:40:44 +00:00
Marko Mikulicic 07dec06809
fix: Make --api-bind et.al. support localhost
Closes #785
2021-02-11 13:27:43 +01:00
Raphael Taylor-Davies c7e8a68fbe
fix: enable tokio::fs for object_store crate (#788)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-02-11 12:12:57 +00:00
Marko Mikulicic f355420ed9
Merge pull request #784 from influxdata/kodiak
chore: Add kodiak config
2021-02-11 12:47:21 +01:00
Marko Mikulicic e75c1069a4
Merge branch 'main' into kodiak 2021-02-11 12:27:56 +01:00
Raphael Taylor-Davies 540fa89663
Merge pull request #780 from influxdata/background-task-tracking
feat: add background task tracking
2021-02-11 11:24:03 +00:00
Raphael Taylor-Davies 7debe94ee6 feat: add background task tracking (#655) 2021-02-11 10:30:19 +00:00
Marko Mikulicic 76bcea39da
chore: Add kodiac config 2021-02-11 00:52:21 +01:00
Paul Dix 4c43c311f0
feat: Add database rules configuration for mutable buffer (#779)
* feat: Add database rules configuration for mutable buffer

* refactor: change all database rules usage to use mutable_buffer_config rather than store_locally
2021-02-10 18:36:29 -05:00
Carol (Nichols || Goulding) 523e361118 test: Fix another doc test that wasn't quite working as intended 2021-02-10 16:30:39 -05:00
Carol (Nichols || Goulding) b0c7aa7ea1 test: Fix doc test that wasn't getting compiled and was broken 2021-02-10 16:17:54 -05:00
Marko Mikulicic 669e20f70b
Merge pull request #782 from influxdata/client
feat: Implement database list API in the client.
2021-02-10 22:06:53 +01:00
Marko Mikulicic 3ff69799c5
Merge branch 'main' into client 2021-02-10 21:00:04 +01:00
Andrew Lamb 46dfd58e6e
test: add a SQL test case for selection (of columns) (#778)
* test: add a SQL test case for selection (of columns)

* test: test with selection + pred
2021-02-10 12:09:19 -05:00
Marko Mikulicic e4baf12c06
feat: Implement database list API in the client.
Closes #767
2021-02-10 17:59:19 +01:00
Andrew Lamb bc49fee920
refactor: Remove unneeded StringSetPlan::KnownError variant (#775)
* refactor: remove KnownError variant

* refactor: rename Known --> KnownOk
2021-02-10 11:53:10 -05:00
Carol (Nichols || Goulding) d2d32295c6
Merge pull request #773 from influxdata/cn/file-path-display
feat: Implement display on FilePath
2021-02-10 11:10:42 -05:00
Carol (Nichols || Goulding) 8d14566fcf
Merge branch 'main' into cn/file-path-display 2021-02-10 10:46:59 -05:00
Andrew Lamb 6114e783fb
chore: Allow `test_utils::setup_logging` to be called more than once (#777)
* feat: Allow `test_utils::setup_logging` to be called more than once

* fix: use std::sync::Once insead of lazy_static
2021-02-10 10:46:18 -05:00
Carol (Nichols || Goulding) d1e3371f56
Merge branch 'main' into cn/file-path-display 2021-02-10 10:36:03 -05:00