Skip to content

Commit 6f8ea51

Browse files
committed
vortex-row: crate scaffolding
Add an empty `vortex-row` crate with a minimal `initialize` stub so the following commits can layer in the row-encoder, codec, scalar functions, and per-encoding kernels without touching the workspace skeleton each time. The crate is wired into the workspace members list and workspace dependency table; `public-api.lock` is generated against the stub. Signed-off-by: Claude <noreply@anthropic.com>
1 parent d71d3d3 commit 6f8ea51

5 files changed

Lines changed: 46 additions & 0 deletions

File tree

Cargo.lock

Lines changed: 7 additions & 0 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ members = [
77
"vortex-mask",
88
"vortex-utils",
99
"vortex-session",
10+
"vortex-row",
1011
"vortex-flatbuffers",
1112
"vortex-metrics",
1213
"vortex-io",
@@ -291,6 +292,7 @@ vortex-mask = { version = "0.1.0", path = "./vortex-mask", default-features = fa
291292
vortex-metrics = { version = "0.1.0", path = "./vortex-metrics", default-features = false }
292293
vortex-pco = { version = "0.1.0", path = "./encodings/pco", default-features = false }
293294
vortex-proto = { version = "0.1.0", path = "./vortex-proto", default-features = false }
295+
vortex-row = { version = "0.1.0", path = "./vortex-row", default-features = false }
294296
vortex-runend = { version = "0.1.0", path = "./encodings/runend", default-features = false }
295297
vortex-scan = { version = "0.1.0", path = "./vortex-scan", default-features = false }
296298
vortex-sequence = { version = "0.1.0", path = "encodings/sequence", default-features = false }

vortex-row/Cargo.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[package]
2+
name = "vortex-row"
3+
authors = { workspace = true }
4+
categories = { workspace = true }
5+
description = "Row-oriented byte encoder for Vortex arrays, analogous to arrow-row."
6+
edition = { workspace = true }
7+
homepage = { workspace = true }
8+
include = { workspace = true }
9+
keywords = { workspace = true }
10+
license = { workspace = true }
11+
readme = { workspace = true }
12+
repository = { workspace = true }
13+
rust-version = { workspace = true }
14+
version = { workspace = true }
15+
16+
[lints]
17+
workspace = true
18+
19+
[dependencies]
20+
vortex-session = { workspace = true }

vortex-row/public-api.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pub mod vortex_row
2+
3+
pub fn vortex_row::initialize(&vortex_session::VortexSession)

vortex-row/src/lib.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// SPDX-License-Identifier: Apache-2.0
2+
// SPDX-FileCopyrightText: Copyright the Vortex contributors
3+
4+
//! Row-oriented byte encoder, analogous to Apache Arrow's `arrow-row` crate.
5+
//!
6+
//! Subsequent commits add the encoder, decoder helpers, and per-encoding fast paths.
7+
//! This commit only establishes the crate skeleton and an `initialize` stub.
8+
9+
use vortex_session::VortexSession;
10+
11+
/// Register the row-encoding scalar functions on the given session.
12+
///
13+
/// Currently a stub: subsequent commits register `RowSize` and `RowEncode` here.
14+
pub fn initialize(_session: &VortexSession) {}

0 commit comments

Comments
 (0)