Skip to content

Commit 2a9b189

Browse files
author
Devdutt Shenoi
committed
fix: no custom-partitions
1 parent 6e1dd5c commit 2a9b189

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/parseable/streams.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,15 @@ impl Stream {
157157
hostname.push_str(id);
158158
}
159159
let filename = format!(
160-
"{}{stream_hash}.{}.minute={}.{}.{hostname}.{ARROW_FILE_EXTENSION}",
160+
"{}{stream_hash}.{}.minute={}.{}{hostname}.{ARROW_FILE_EXTENSION}",
161161
Utc::now().format("%Y%m%dT%H%M"),
162162
parsed_timestamp.format("date=%Y-%m-%d.hour=%H"),
163163
Minute::from(parsed_timestamp).to_slot(OBJECT_STORE_DATA_GRANULARITY),
164164
custom_partition_values
165165
.iter()
166166
.sorted_by_key(|v| v.0)
167-
.map(|(key, value)| format!("{key}={value}"))
168-
.join(".")
167+
.map(|(key, value)| format!("{key}={value}."))
168+
.join("")
169169
);
170170
self.data_path.join(filename)
171171
}

0 commit comments

Comments
 (0)