Skip to content

Commit

Permalink
Add new module for DeltaTableState (delta-io#464)
Browse files Browse the repository at this point in the history
* Add new module for delta table state.
* Leverage type system to make sure table states are only constructed from a single checkpoint or commit
  • Loading branch information
viirya committed Oct 17, 2021
1 parent 9a11f4d commit fc9513c
Show file tree
Hide file tree
Showing 4 changed files with 303 additions and 257 deletions.
3 changes: 2 additions & 1 deletion rust/src/checkpoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ use super::delta_arrow::delta_log_schema_for_table;
use super::open_table_with_version;
use super::schema::*;
use super::storage::{StorageBackend, StorageError};
use super::table_state::DeltaTableState;
use super::writer::time_utils;
use super::{CheckPoint, DeltaTableError, DeltaTableState};
use super::{CheckPoint, DeltaTableError};
use crate::DeltaTable;

/// Error returned when there is an error during creating a checkpoint.
Expand Down
Loading

0 comments on commit fc9513c

Please sign in to comment.