Skip to content

Commit

Permalink
more refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
wjones127 committed Jun 3, 2024
1 parent 3916f2e commit e038bec
Show file tree
Hide file tree
Showing 20 changed files with 346 additions and 589 deletions.
5 changes: 5 additions & 0 deletions rust/lance-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@ pub use error::{Error, Result};

/// Column name for the meta row ID.
pub const ROW_ID: &str = "_rowid";
/// Column name for the meta row address.
pub const ROW_ADDR: &str = "_rowaddr";

lazy_static::lazy_static! {
/// Row ID field. This is nullable because its validity bitmap is sometimes used
/// as a selection vector.
pub static ref ROW_ID_FIELD: ArrowField = ArrowField::new(ROW_ID, DataType::UInt64, true);
/// Row address field. This is nullable because its validity bitmap is sometimes used
/// as a selection vector.
pub static ref ROW_ADDR_FIELD: ArrowField = ArrowField::new(ROW_ADDR, DataType::UInt64, true);
}
Loading

0 comments on commit e038bec

Please # to comment.