We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 179d78c commit dfeca75Copy full SHA for dfeca75
src/parseable/streams.rs
@@ -144,10 +144,8 @@ impl Stream {
144
// entry is not present thus we create it
145
std::fs::create_dir_all(&self.data_path)?;
146
147
- let range = TimeRange::granularity_range(
148
- parsed_timestamp.and_local_timezone(Utc).unwrap(),
149
- OBJECT_STORE_DATA_GRANULARITY,
150
- );
+ let range =
+ TimeRange::granularity_range(Utc::now(), OBJECT_STORE_DATA_GRANULARITY);
151
let file_path = self.data_path.join(&filename);
152
let mut writer = DiskWriter::try_new(file_path, &record.schema(), range)
153
.expect("File and RecordBatch both are checked");
0 commit comments