File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -383,10 +383,7 @@ pub fn metric_proto_to_df(metric: MetricProto) -> Result<Arc<Metric>, DataFusion
383383 Some ( MetricValueProto :: StartTimestamp ( start_ts) ) => match start_ts. value {
384384 Some ( value) => {
385385 let timestamp = Timestamp :: new ( ) ;
386- #[ cfg( feature = "integration" ) ]
387386 timestamp. set ( DateTime :: from_timestamp_nanos ( value) ) ;
388- #[ cfg( not( feature = "integration" ) ) ]
389- { /* DateTime not available without integration feature */ }
390387 Ok ( Arc :: new ( Metric :: new_with_labels (
391388 MetricValue :: StartTimestamp ( timestamp) ,
392389 partition,
@@ -402,10 +399,7 @@ pub fn metric_proto_to_df(metric: MetricProto) -> Result<Arc<Metric>, DataFusion
402399 Some ( MetricValueProto :: EndTimestamp ( end_ts) ) => match end_ts. value {
403400 Some ( value) => {
404401 let timestamp = Timestamp :: new ( ) ;
405- #[ cfg( feature = "integration" ) ]
406402 timestamp. set ( DateTime :: from_timestamp_nanos ( value) ) ;
407- #[ cfg( not( feature = "integration" ) ) ]
408- { /* DateTime not available without integration feature */ }
409403 Ok ( Arc :: new ( Metric :: new_with_labels (
410404 MetricValue :: EndTimestamp ( timestamp) ,
411405 partition,
You can’t perform that action at this time.
0 commit comments