Commit Graph

163 Commits (081c208ad3d799ca0a35db4f2b878aadcf760197)

Author SHA1 Message Date
Andrew Lamb b61875e0b2
feat: Add TableSummary calculation to ReadBuffer (#1092) 2021-03-31 16:26:37 +00:00
Andrew Lamb 6a48001d13
refactor: Manage storage directly in the Catalog (#1057)
* refactor: Manage mutable buffer chunks directly

* fix: do not use mutable_buffer for listing table names
2021-03-29 17:55:07 +00:00
Andrew Lamb 895e808754
chore: Upgrade arrow deps (#1046)
* chore: Upgrade dependencies

* chore: upgrade query for new interfaces

* chore: update read_buffer
2021-03-25 13:35:08 +00:00
Edd Robinson 585213e51f refactor: return error for wrong group columns 2021-03-23 14:41:06 +00:00
Edd Robinson cadc92dac9 refactor: remove dead code 2021-03-22 20:47:48 +00:00
Edd Robinson 300ac2e411 refactor: simplify aggregate_columns 2021-03-22 20:47:48 +00:00
Edd Robinson dd0ab422d2 refactor: remove redundant type 2021-03-22 20:47:48 +00:00
Edd Robinson dea4f1c451 refactor: remove type from row_group 2021-03-22 20:47:48 +00:00
Edd Robinson dfd39cfce6 refactor: apply suggestions from code review
Co-authored-by: Andrew Lamb <alamb@influxdata.com>
2021-03-22 16:15:49 +00:00
Edd Robinson 3e9b2fff5c refactor: Update read_buffer/src/row_group.rs
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-22 16:15:49 +00:00
Edd Robinson ce55dd7ce3 refactor: update read_buffer/src/row_group.rs
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-22 16:15:49 +00:00
Edd Robinson b44dc7d9a1 refactor: update read_buffer/src/value.rs
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-22 16:15:49 +00:00
Edd Robinson 326016966f refactor: update read_buffer/src/row_group.rs
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-22 16:15:49 +00:00
Edd Robinson ffa06e4f0e test: more test coverage 2021-03-22 16:15:49 +00:00
Edd Robinson e5f7cc143a refactor: use AggregateVec for results 2021-03-22 16:15:49 +00:00
Edd Robinson 3725161fc3 refactor: use AggregateVec on rle grouping 2021-03-22 16:15:49 +00:00
Edd Robinson fd7cdc4fa4 refactor: remove single column group_by 2021-03-22 16:15:49 +00:00
Edd Robinson 9c48cebf78 refactor: column-wise aggregates 2021-03-22 16:15:49 +00:00
Edd Robinson d88e20c7fe fix: fix bad expected cardinality 2021-03-22 16:15:49 +00:00
Andrew Lamb 6e1795fda0
refactor: Move some types (not yet exposed to clients) into internal_types (#1015)
* refactor: Move some types (not yet exposed to clients) into internal_types

* docs: Add README.md explaining the rationale

* refactor: remove some stragglers

* fix: fix benches

* fix: Apply suggestions from code review

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

* fix: add clippy lints

* fix: fmt

* docs: Apply suggestions from code review

fix typos

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-19 16:27:57 +00:00
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