Skip to content

Commit d5a7560

Browse files
authored
chore: rename vortex-common -> vortex-utils so we can publish (#3493)
1 parent 341710d commit d5a7560

File tree

59 files changed

+79
-81
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+79
-81
lines changed

Cargo.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ members = [
77
"vortex-array",
88
"vortex-btrblocks",
99
"vortex-buffer",
10-
"vortex-common",
1110
"vortex-datafusion",
1211
"vortex-dtype",
1312
"vortex-duckdb",
@@ -27,6 +26,7 @@ members = [
2726
"vortex-python",
2827
"vortex-scalar",
2928
"vortex-tui",
29+
"vortex-utils",
3030
"xtask",
3131
]
3232
exclude = ["duckdb-vortex/duckdb-rs", "wasm-test"]
@@ -180,7 +180,6 @@ vortex-array = { version = "0.1.0", path = "./vortex-array", default-features =
180180
vortex-btrblocks = { version = "0.1.0", path = "./vortex-btrblocks", default-features = false }
181181
vortex-buffer = { version = "0.1.0", path = "./vortex-buffer", default-features = false }
182182
vortex-bytebool = { version = "0.1.0", path = "./encodings/bytebool", default-features = false }
183-
vortex-common = { version = "0.1.0", path = "./vortex-common", default-features = false }
184183
vortex-datafusion = { version = "0.1.0", path = "./vortex-datafusion", default-features = false }
185184
vortex-datetime-parts = { version = "0.1.0", path = "./encodings/datetime-parts", default-features = false }
186185
vortex-decimal-byte-parts = { version = "0.1.0", path = "encodings/decimal-byte-parts", default-features = false }
@@ -203,6 +202,7 @@ vortex-scalar = { version = "0.1.0", path = "./vortex-scalar", default-features
203202
vortex-sequence = { version = "0.1.0", path = "encodings/sequence", default-features = false }
204203
vortex-sparse = { version = "0.1.0", path = "./encodings/sparse", default-features = false }
205204
vortex-tui = { version = "0.1.0", path = "./vortex-tui", default-features = false }
205+
vortex-utils = { version = "0.1.0", path = "./vortex-utils", default-features = false }
206206
vortex-zigzag = { version = "0.1.0", path = "./encodings/zigzag", default-features = false }
207207
# END crates published by this project
208208

bench-vortex/src/bin/tpch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ use itertools::Itertools;
2828
use log::{info, warn};
2929
use similar::{ChangeTag, TextDiff};
3030
use url::Url;
31-
use vortex::common::aliases::hash_map::HashMap;
3231
use vortex::error::VortexExpect;
32+
use vortex::utils::aliases::hash_map::HashMap;
3333
use vortex_datafusion::persistent::metrics::VortexMetricsFinder;
3434

3535
#[derive(Parser, Debug)]

bench-vortex/src/display.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use itertools::Itertools;
55
use tabled::builder::Builder;
66
use tabled::settings::themes::Colorization;
77
use tabled::settings::{Color, Style};
8-
use vortex::common::aliases::hash_map::HashMap;
8+
use vortex::utils::aliases::hash_map::HashMap;
99

1010
use crate::Target;
1111
use crate::measurements::{MeasurementValue, TableValue, ToJson, ToTable};

bench-vortex/src/metrics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use opentelemetry_otlp::SpanExporter as OtlpSpanExporter;
1010
use opentelemetry_sdk::Resource;
1111
use opentelemetry_sdk::error::OTelSdkResult;
1212
use opentelemetry_sdk::trace::{IdGenerator, RandomIdGenerator, SpanData, SpanExporter};
13-
use vortex::common::aliases::hash_map::HashMap;
13+
use vortex::utils::aliases::hash_map::HashMap;
1414

1515
use crate::Format;
1616
use crate::engines::df::GIT_COMMIT_ID;

bench-vortex/src/public_bi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ use tokio::runtime::Handle;
2727
use tracing::{debug, info};
2828
use url::Url;
2929
use vortex::ArrayRef;
30-
use vortex::common::aliases::hash_map::HashMap;
3130
use vortex::error::{VortexResult, vortex_err};
3231
use vortex::file::{VortexLayoutStrategy, VortexOpenOptions, VortexWriteOptions};
3332
use vortex::stream::ArrayStreamExt;
33+
use vortex::utils::aliases::hash_map::HashMap;
3434
use vortex_datafusion::persistent::VortexFormat;
3535

3636
use crate::conversions::parquet_to_vortex;

bench-vortex/src/random_access/take.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ use parquet::file::metadata::RowGroupMetaData;
1414
use stream::StreamExt;
1515
use tokio::runtime::Handle;
1616
use vortex::buffer::Buffer;
17-
use vortex::common::aliases::hash_map::HashMap;
1817
use vortex::file::VortexOpenOptions;
1918
use vortex::stream::ArrayStreamExt;
19+
use vortex::utils::aliases::hash_map::HashMap;
2020
use vortex::{Array, ArrayRef, IntoArray};
2121

2222
pub async fn take_vortex_tokio(path: &Path, indices: Buffer<u64>) -> anyhow::Result<ArrayRef> {

bench-vortex/src/tpch/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub mod named_locks {
100100
use std::sync::{Arc, LazyLock};
101101

102102
use tokio::sync::Mutex;
103-
use vortex::common::aliases::hash_map::HashMap;
103+
use vortex::utils::aliases::hash_map::HashMap;
104104

105105
type NamedLocksMap = LazyLock<Mutex<HashMap<String, Arc<Mutex<()>>>>>;
106106
static NAMED_LOCKS: NamedLocksMap = LazyLock::new(|| Mutex::new(HashMap::new()));

encodings/alp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ prost = { workspace = true }
2323
rustc-hash = { workspace = true }
2424
vortex-array = { workspace = true }
2525
vortex-buffer = { workspace = true }
26-
vortex-common = { workspace = true }
2726
vortex-dtype = { workspace = true }
2827
vortex-error = { workspace = true }
2928
vortex-fastlanes = { workspace = true }
3029
vortex-mask = { workspace = true }
3130
vortex-scalar = { workspace = true }
31+
vortex-utils = { workspace = true }
3232

3333
[dev-dependencies]
3434
divan = { workspace = true }

encodings/alp/src/alp_rd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ use vortex_array::arrays::PrimitiveArray;
1818
use vortex_array::vtable::ValidityHelper;
1919
use vortex_array::{Array, IntoArray, ToCanonical};
2020
use vortex_buffer::{Buffer, BufferMut};
21-
use vortex_common::aliases::hash_map::HashMap;
2221
use vortex_dtype::{DType, NativePType, match_each_integer_ptype};
2322
use vortex_error::{VortexExpect, VortexResult, VortexUnwrap, vortex_bail};
2423
use vortex_fastlanes::bitpack_encode_unchecked;
24+
use vortex_utils::aliases::hash_map::HashMap;
2525

2626
use crate::match_each_alp_float_ptype;
2727

0 commit comments

Comments
 (0)