Commit Graph

143 Commits (58b01b4ad3614df507ef3d16fa5363c211a581d2)

Author SHA1 Message Date
Raphael Taylor-Davies 65f7a1ac5b
fix: use consistent crate versions (#989)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-15 15:42:19 +00:00
Andrew Lamb 6ac7e2c1a7
feat: Add management API and CLI to list chunks (#968)
* feat: Add management API and CLI to list chunks

* fix: Apply suggestions from code review

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

* fix: add comment to protobuf

* fix: fix comment

* fix: fmt, fixup merge errors

* fix: fascinating type dance with prost generated types

* fix: clippy

* fix: move command to influxdb_iox database chunk list

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-12 13:56:14 +00:00
Edd Robinson 41a0784603 refactor: enable clipp Self 2021-03-02 15:51:13 +00:00
Edd Robinson 58f5ad5da2 refactor: tidy up with clippy 2021-03-01 18:45:39 +00:00
Edd Robinson 5b329996a9 refactor: update read_buffer/src/chunk.rs
Co-authored-by: Andrew Lamb <alamb@influxdata.com>
2021-03-01 11:42:54 +00:00
Edd Robinson 5bf164f5a9 refactor: PR feedback 2021-03-01 11:42:54 +00:00
Edd Robinson 01791fbc07 feat: wire up column_values to exposed API 2021-03-01 11:42:54 +00:00
Edd Robinson d9e8132a3a refactor: wire up column_values for row_group 2021-03-01 11:42:54 +00:00
Edd Robinson 9b1346ddea feat: wire up checking non-null values on dictionaries 2021-03-01 11:42:54 +00:00
Edd Robinson fcc978bb75 refactor: wire up distinct_values with iterator 2021-03-01 11:42:54 +00:00
Edd Robinson 7d0248cc94 feat: implement distinct_values on dictionary 2021-03-01 11:42:54 +00:00
Edd Robinson cd83fcbfdb feat: implement Selection on column_names 2021-02-22 15:32:55 +00:00
Marko Mikulicic b8dc4c93dc docs: Rename read group to row group 2021-02-19 23:37:51 +00:00
Edd Robinson baa45d2c4c refactor: unlock the power of STRINGS 2021-02-17 21:17:56 +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
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
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
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
Andrew Lamb a316b16960
feat: Change table_names to return either Some(set) or None, rather than a plan (try 2) (#776)
* feat: Change table_names to return either Some(set) or None, rather than a plan

* docs: improve comments

* docs: Apply suggestions from code review

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

* fix: merge conflict

* fix: don't clone a string unless needed

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-02-09 12:20:59 -05:00
Andrew Lamb 8399c56587
feat: remove RwLock on entire ReadBuffer (#761) 2021-02-05 16:58:17 -05:00
Edd Robinson f0748cc379 refactor: address PR feedback
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-02-05 15:28:20 +00:00
Edd Robinson 48b29a9c72 refactor: change name back 2021-02-05 15:28:20 +00:00
Edd Robinson 6bec4c6eef feat: expose column_names via external API 2021-02-05 15:28:20 +00:00
Edd Robinson fd28738abf fix: implement on all types 2021-02-05 15:28:20 +00:00
Edd Robinson 519db7e8f9 feat: implement column_names on row group 2021-02-05 15:28:20 +00:00
Edd Robinson 115e542e70 feat: add non-null checking to column abstraction 2021-02-05 15:28:20 +00:00
Edd Robinson 4614abb7f8 feat: teach encoders ability to detect non-null values 2021-02-05 15:28:20 +00:00
Carol (Nichols || Goulding) fbf776c6b3
chore: Clean up Cargo.tomls (#754)
* fix: test_helpers crate should only be a dev-dep

* fix: object_store no longer has a build script, so no longer needs a build dep

* chore: Alphabetize all Cargo.tomls
2021-02-04 18:56:02 -05:00
Andrew Lamb 288861e646
feat: implement table_schema in partition chunk, mutable buffer, read buffer (#705)
fix: sort output schema by name

fix: Update data_types/src/schema.rs

Co-authored-by: Edd Robinson <me@edd.io>

refactor: Update read_buffer/src/lib.rs

Co-authored-by: Edd Robinson <me@edd.io>

Co-authored-by: Edd Robinson <me@edd.io>
2021-02-01 13:54:58 -05:00
Edd Robinson 2885b0528b refactor: address PR comments 2021-02-01 16:56:56 +00:00
Edd Robinson d44099d242
refactor: update read_buffer/src/column/bool.rs
Co-authored-by: Andrew Lamb <alamb@influxdata.com>
2021-02-01 15:17:51 +00:00
Edd Robinson 7e1ac34906 refactor: recordbatch boolean -> Bool 2021-02-01 12:29:04 +00:00
Edd Robinson 172c8d146c refactor: wire up bool encoding to read buffer column 2021-02-01 12:02:14 +00:00
Edd Robinson 36d9541cbc feat: an arrow-backed boolean encoding 2021-02-01 12:02:14 +00:00
Edd Robinson 679e04fdb3 refactor: remove redundant From implementations 2021-02-01 10:52:27 +00:00
Edd Robinson 42e2178110 refactor: simpify arrow -> read buffer column 2021-01-31 21:19:18 +00:00
Edd Robinson 28b596b883 refactor: wire up fixed null encoding 2021-01-31 21:12:47 +00:00
Edd Robinson 0195dfc03a test: add coverage for NULL values in queries 2021-01-31 21:12:06 +00:00