fix: update properties on updating partitions (#4627)

* fix: update properties on updating partitions

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* add unit test and handle insufficient ranges

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
Ruihang Xia
2024-08-28 15:06:01 +08:00
committed by GitHub
parent 28bf549907
commit d5455db2d5
3 changed files with 142 additions and 9 deletions

View File

@@ -143,7 +143,7 @@ impl ScannerPartitioning {
}
/// Represents one data range within a partition
#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct PartitionRange {
/// Start time of time index column. Inclusive.
pub start: Timestamp,