File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ use serde::Serialize;
46
46
use tokio:: task:: JoinSet ;
47
47
use tracing:: { error, info, trace, warn} ;
48
48
49
+ use crate :: utils:: DATASET_STATS_STREAM_NAME ;
49
50
use crate :: {
50
51
cli:: Options ,
51
52
event:: {
@@ -71,7 +72,7 @@ use super::{
71
72
} ,
72
73
LogStream , ARROW_FILE_EXTENSION ,
73
74
} ;
74
- const DATASET_STATS_STREAM_NAME : & str = "pstats" ;
75
+
75
76
const MAX_CONCURRENT_FIELD_STATS : usize = 10 ;
76
77
77
78
#[ derive( Serialize , Debug ) ]
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ use datafusion::common::tree_node::TreeNode;
37
37
use regex:: Regex ;
38
38
use sha2:: { Digest , Sha256 } ;
39
39
40
+ pub const DATASET_STATS_STREAM_NAME : & str = "pstats" ;
41
+
40
42
pub fn get_node_id ( ) -> String {
41
43
let now = Utc :: now ( ) . to_rfc3339 ( ) ;
42
44
let id = get_hash ( & now) . to_string ( ) . split_at ( 15 ) . 0 . to_string ( ) ;
You can’t perform that action at this time.
0 commit comments