refactor: rename delorean_mem_qe --> mem_qe (#414)
parent
4f348836fe
commit
9df6c24493
|
@ -710,7 +710,6 @@ dependencies = [
|
|||
"delorean_generated_types",
|
||||
"delorean_ingest",
|
||||
"delorean_line_parser",
|
||||
"delorean_mem_qe",
|
||||
"delorean_segment_store",
|
||||
"delorean_storage",
|
||||
"delorean_test_helpers",
|
||||
|
@ -725,6 +724,7 @@ dependencies = [
|
|||
"hyper",
|
||||
"influxdb2_client",
|
||||
"libflate",
|
||||
"mem_qe",
|
||||
"object_store",
|
||||
"packers",
|
||||
"predicates",
|
||||
|
@ -813,22 +813,6 @@ dependencies = [
|
|||
"tracing",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "delorean_mem_qe"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"criterion",
|
||||
"croaring",
|
||||
"crossbeam",
|
||||
"delorean_arrow",
|
||||
"env_logger",
|
||||
"human_format",
|
||||
"packers",
|
||||
"snafu",
|
||||
"tracing",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "delorean_segment_store"
|
||||
version = "0.1.0"
|
||||
|
@ -1655,6 +1639,22 @@ version = "0.7.0"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771"
|
||||
|
||||
[[package]]
|
||||
name = "mem_qe"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"criterion",
|
||||
"croaring",
|
||||
"crossbeam",
|
||||
"delorean_arrow",
|
||||
"env_logger",
|
||||
"human_format",
|
||||
"packers",
|
||||
"snafu",
|
||||
"tracing",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "memchr"
|
||||
version = "2.3.3"
|
||||
|
|
|
@ -14,7 +14,7 @@ members = [
|
|||
"delorean_ingest",
|
||||
"delorean_line_parser",
|
||||
"object_store",
|
||||
"delorean_mem_qe",
|
||||
"mem_qe",
|
||||
"delorean_segment_store",
|
||||
"packers",
|
||||
"delorean_test_helpers",
|
||||
|
@ -34,7 +34,7 @@ delorean_arrow = { path = "delorean_arrow" }
|
|||
delorean_generated_types = { path = "delorean_generated_types" }
|
||||
delorean_ingest = { path = "delorean_ingest" }
|
||||
delorean_line_parser = { path = "delorean_line_parser" }
|
||||
delorean_mem_qe = { path = "delorean_mem_qe" }
|
||||
mem_qe = { path = "mem_qe" }
|
||||
delorean_segment_store = { path = "delorean_segment_store" }
|
||||
packers = { path = "packers" }
|
||||
delorean_write_buffer = { path = "delorean_write_buffer" }
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "delorean_mem_qe"
|
||||
name = "mem_qe"
|
||||
version = "0.1.0"
|
||||
authors = ["Edd Robinson <me@edd.io>"]
|
||||
edition = "2018"
|
|
@ -21,7 +21,7 @@ fn benchmark_row_ids(
|
|||
let mut group = c.benchmark_group(benchmark_group_name);
|
||||
for &batch_size in batch_sizes {
|
||||
for &cardinality in cardinalities {
|
||||
let mut input = delorean_mem_qe::encoding::DictionaryRLE::new();
|
||||
let mut input = mem_qe::encoding::DictionaryRLE::new();
|
||||
let values = batch_size / cardinality;
|
||||
for i in 0..cardinality {
|
||||
input.push_additional(Some(i.to_string()), values as u64);
|
||||
|
@ -63,7 +63,7 @@ fn benchmark_row_ids_roaring(
|
|||
let mut group = c.benchmark_group(benchmark_group_name);
|
||||
for &batch_size in batch_sizes {
|
||||
for &cardinality in cardinalities {
|
||||
let mut input = delorean_mem_qe::encoding::DictionaryRLE::new();
|
||||
let mut input = mem_qe::encoding::DictionaryRLE::new();
|
||||
let values = batch_size / cardinality;
|
||||
for i in 0..cardinality {
|
||||
input.push_additional(Some(i.to_string()), values as u64);
|
|
@ -15,11 +15,11 @@ use tracing::debug;
|
|||
use delorean_arrow::arrow::record_batch::{RecordBatch, RecordBatchReader};
|
||||
use delorean_arrow::arrow::{array, array::Array, datatypes, ipc};
|
||||
use delorean_arrow::parquet::arrow::arrow_reader::ArrowReader;
|
||||
use delorean_mem_qe::column;
|
||||
use delorean_mem_qe::column::{AggregateType, Column};
|
||||
use delorean_mem_qe::segment::{ColumnType, GroupingStrategy, Schema, Segment};
|
||||
use delorean_mem_qe::Store;
|
||||
// use delorean_mem_qe::{adapter::DeloreanQueryEngine, Store};
|
||||
use mem_qe::column;
|
||||
use mem_qe::column::{AggregateType, Column};
|
||||
use mem_qe::segment::{ColumnType, GroupingStrategy, Schema, Segment};
|
||||
use mem_qe::Store;
|
||||
// use mem_qe::{adapter::DeloreanQueryEngine, Store};
|
||||
|
||||
#[derive(Snafu, Debug, Clone, Copy, PartialEq)]
|
||||
pub enum Error {}
|
Loading…
Reference in New Issue