Skip to content

Commit f18de93

Browse files
committed
fix check
1 parent af56290 commit f18de93

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/commands/load/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,8 @@ pub(crate) async fn run(
769769
checkpoint_dir: Option<&Path>,
770770
query_catalog_namespace: Option<String>,
771771
) -> anyhow::Result<()> {
772-
let metric_attributes = run_metric_attributes(common_args, run_id, version_metadata.etl_type());
772+
let metric_attributes =
773+
run_metric_attributes(common_args, run_id, version_metadata.etl_type().as_str());
773774

774775
scenario.load_query_set()?;
775776

@@ -784,7 +785,7 @@ pub(crate) async fn run(
784785
data_generation::config::format_scale_factor(common_args.scale_factor),
785786
),
786787
KeyValue::new("scale_factor", version_metadata.scale_factor.to_string()),
787-
KeyValue::new("etl_type", version_metadata.etl_type()),
788+
KeyValue::new("etl_type", version_metadata.etl_type().to_string()),
788789
])
789790
.build();
790791

0 commit comments

Comments
 (0)