File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ mod staging;
5959mod streams;
6060
6161/// File extension for arrow files in staging
62- const ARROW_FILE_EXTENSION : & str = "data. arrows" ;
62+ const ARROW_FILE_EXTENSION : & str = "arrows" ;
6363
6464/// Name of a Stream
6565/// 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 {
154154 hostname. push_str ( id) ;
155155 }
156156 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}" ,
158158 Utc :: now( ) . format( "%Y%m%dT%H%M" ) ,
159159 parsed_timestamp. date( ) ,
160160 parsed_timestamp. hour( ) ,
@@ -881,7 +881,7 @@ mod tests {
881881 ) ;
882882
883883 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}" ,
885885 Utc :: now( ) . format( "%Y%m%dT%H%M" ) ,
886886 parsed_timestamp. date( ) ,
887887 parsed_timestamp. hour( ) ,
@@ -916,7 +916,7 @@ mod tests {
916916 ) ;
917917
918918 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}" ,
920920 Utc :: now( ) . format( "%Y%m%dT%H%M" ) ,
921921 parsed_timestamp. date( ) ,
922922 parsed_timestamp. hour( ) ,
You can’t perform that action at this time.
0 commit comments