Commit Graph

1845 Commits (484adcc257594fd099020bacb095e3ffc074cbf2)

Author SHA1 Message Date
Jake Goulding 484adcc257 chore: fix typo in an error message 2021-02-18 14:57:38 -05:00
Marko Mikulicic 536c1724bd feat: Allow to put streams of unknown length to objectstore
Addresses the API aspect of #818

Adds a utility module that helps computing the length of a stream while buffering it
for later replay (in-memory or spilling it in a temporary file).
2021-02-18 16:49:18 +00:00
kodiakhq[bot] fbccc712b4
Merge pull request #832 from influxdata/ntran/update_arrow_dependencies
chore: update Arrow dependencies
2021-02-18 16:32:56 +00:00
kodiakhq[bot] 4718b340f3
Merge branch 'main' into ntran/update_arrow_dependencies 2021-02-18 16:20:49 +00:00
NGA TRAN 213094f8f7 chore: update Arrow dependencies 2021-02-18 10:02:57 -05:00
Andrew Lamb e669e367c6
feat: Include GIT_HASH in startup log message (#829) 2021-02-18 10:50:14 +00:00
Andrew Lamb 2c993dfe26
fix: do not use `println!` on server startup (#828)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-02-17 22:46:02 +00:00
Andrew Lamb 9b91e0624c
feat: implement field_columns plan (#819)
* feat: implement field_columns plan

* fix: fix doc tests

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-02-17 20:43:24 +00:00
kodiakhq[bot] d5d4e7a3b0
Merge pull request #826 from influxdata/dom/clone-api-client
refactor: derive Clone for API client
2021-02-17 17:08:50 +00:00
Dom 4e6841bc5e refactor: derive Clone for API client 2021-02-17 16:53:00 +00:00
kodiakhq[bot] de9b58f340
Merge pull request #825 from influxdata/dom/api-get-writer-id
feat: get writer ID endpoint
2021-02-17 16:33:17 +00:00
Dom 1a67b73ace feat: get writer ID endpoint
Adds an API endpoint to retrieve the currently set server writer ID:

	GET /iox/api/v1/id

Returning:

	{"id":42}

Also adds a get_writer_id() method to the IOx API client.
2021-02-17 16:03:47 +00:00
kodiakhq[bot] 64e51ccdbc
Merge pull request #824 from influxdata/chore/docker-inspect-get-deploy-tags
chore: use docker image inspect in get-deploy-tags.sh
2021-02-17 10:35:30 +00:00
Wojciech Kocjan ebd7f4c1e4 chore: use docker image inspect in get-deploy-tags.sh 2021-02-17 09:12:56 +01:00
Andrew Lamb 071b13b939
chore: Update dependencies (#821)
* chore: Update dependencies

* fix: update udf implementation for DataFusion update

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-02-16 23:27:36 +00:00
kodiakhq[bot] 7de5d35bab
Merge pull request #816 from influxdata/er/feat/read_buffer/size
feat: implement `size` on Read Buffer
2021-02-16 22:56:07 +00:00
Edd Robinson b5922b6a08 refactor: apply suggestions from code review
Co-authored-by: Andrew Lamb <alamb@influxdata.com>
2021-02-16 22:07:45 +00:00
Edd Robinson bedb748ae0 feat: implement size on rest of read buffer 2021-02-16 22:01:27 +00:00
Edd Robinson 6d694a0fd3 refactor: remove size/rows from column meta 2021-02-16 22:01:27 +00:00
Edd Robinson f952d673ba feat: add size on bool encoding 2021-02-16 22:01:27 +00:00
Edd Robinson 497ab1140b feat: implement size on fixed_null encoding 2021-02-16 22:01:27 +00:00
Edd Robinson 5c65e7072e feat: implement size on RLE 2021-02-16 22:01:27 +00:00
kodiakhq[bot] 72546f75be
Merge pull request #817 from influxdata/er/refactor/clippy_clone_lint
refactor: apply clippy clone lint
2021-02-16 13:53:11 +00:00
Edd Robinson b705baa223 refactor: apply clippy clone lint 2021-02-16 13:34:56 +00:00
Raphael Taylor-Davies 042c61908e
refactor: move gRPC storage into own module (#814)
* refactor: move gRPC storage into own module

refactor: encpasulate grpc server creation within modules

refactor: pass concrete Server<M> to rpc::make_server

* refactor: review comments

* refactor: cargo fmt

Co-authored-by: Edd Robinson <me@edd.io>
2021-02-16 12:26:20 +00:00
Andrew Lamb 94a93e56ff
feat: implement `tag_keys` in gRPC planner and across mutable buffer (#795)
* feat: move tag_column_names into rpc planner

* fix: Apply suggestions from code review

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>

* fix: Apply suggestions from code review

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>

* fix: compile error

* refactor: remove PassThrough error type

* fix: Avoid extra layers of errors in mutable buffer chunk

* fix: use HashMap::get rather than values() and find

* fix: push filtering down to chunk in gRPC planner

* fix: fixup trait bounds to be non-silly

* fix: remove incorrect comment

* fix: remove cruft

* fix: clippy + fmt

* fix: correct comment

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-02-15 16:47:52 +00:00
kodiakhq[bot] 5ac4ee2f49
Merge pull request #807 from influxdata/er/refactor/arc_warn
refactor: introduce clone_on_ref_ptr clippy lint
2021-02-15 13:40:54 +00:00
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
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