File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ mod staging;
59
59
mod streams;
60
60
61
61
/// File extension for arrow files in staging
62
- const ARROW_FILE_EXTENSION : & str = "data. arrows" ;
62
+ const ARROW_FILE_EXTENSION : & str = "arrows" ;
63
63
64
64
/// Name of a Stream
65
65
/// NOTE: this used to be a struct, flattened out for simplicity
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ impl Stream {
154
154
hostname. push_str ( id) ;
155
155
}
156
156
let filename = format ! (
157
- "{}{stream_hash}.date={}.hour={:02}.minute={}.{}{hostname}.{ARROW_FILE_EXTENSION}" ,
157
+ "{}{stream_hash}.date={}.hour={:02}.minute={}.{}{hostname}.data. {ARROW_FILE_EXTENSION}" ,
158
158
Utc :: now( ) . format( "%Y%m%dT%H%M" ) ,
159
159
parsed_timestamp. date( ) ,
160
160
parsed_timestamp. hour( ) ,
@@ -881,7 +881,7 @@ mod tests {
881
881
) ;
882
882
883
883
let expected_path = staging. data_path . join ( format ! (
884
- "{}{stream_hash}.date={}.hour={:02}.minute={}.{}.{ARROW_FILE_EXTENSION}" ,
884
+ "{}{stream_hash}.date={}.hour={:02}.minute={}.{}.data. {ARROW_FILE_EXTENSION}" ,
885
885
Utc :: now( ) . format( "%Y%m%dT%H%M" ) ,
886
886
parsed_timestamp. date( ) ,
887
887
parsed_timestamp. hour( ) ,
@@ -916,7 +916,7 @@ mod tests {
916
916
) ;
917
917
918
918
let expected_path = staging. data_path . join ( format ! (
919
- "{}{stream_hash}.date={}.hour={:02}.minute={}.key1=value1.key2=value2.{}.{ARROW_FILE_EXTENSION}" ,
919
+ "{}{stream_hash}.date={}.hour={:02}.minute={}.key1=value1.key2=value2.{}.data. {ARROW_FILE_EXTENSION}" ,
920
920
Utc :: now( ) . format( "%Y%m%dT%H%M" ) ,
921
921
parsed_timestamp. date( ) ,
922
922
parsed_timestamp. hour( ) ,
You can’t perform that action at this time.
0 commit comments