Skip to content

Commit

Permalink
feat: make dataset version serializable (#3143)
Browse files Browse the repository at this point in the history
This will be used when we add list_versions to the remote SDK
  • Loading branch information
albertlockett authored Nov 19, 2024
1 parent 566082f commit 73cf23b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust/lance/src/dataset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ use lance_table::io::manifest::{read_manifest, write_manifest};
use object_store::path::Path;
use prost::Message;
use rowids::get_row_id_index;
use serde::{Deserialize, Serialize};
use snafu::{location, Location};
use std::borrow::Cow;
use std::collections::{BTreeMap, HashMap};
Expand Down Expand Up @@ -114,6 +115,7 @@ pub struct Dataset {
}

/// Dataset Version
#[derive(Deserialize, Serialize)]
pub struct Version {
/// version number
pub version: u64,
Expand Down

0 comments on commit 73cf23b

Please sign in to comment.