diff --git a/crates/query-engine/execution/src/query.rs b/crates/query-engine/execution/src/query.rs index db86660d7..51910fbc2 100644 --- a/crates/query-engine/execution/src/query.rs +++ b/crates/query-engine/execution/src/query.rs @@ -248,8 +248,8 @@ fn variables_to_json( let variables_field = serde_json::Value::Object( varset - .clone() - .into_iter() + .iter() + .cloned() .collect::>(), ); row.insert(sql::helpers::VARIABLES_FIELD.to_string(), variables_field);