Skip to content

Commit

Permalink
chore: codefmt
Browse files Browse the repository at this point in the history
  • Loading branch information
KKould committed Dec 26, 2024
1 parent 6d6be6c commit c2b9939
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/common/function/src/scalars/vector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ mod elem_sum;
pub mod impl_conv;
mod scalar_add;
mod scalar_mul;
mod vector_mul;
mod sub;
pub(crate) mod sum;
mod vector_mul;

use std::sync::Arc;

Expand Down
4 changes: 2 additions & 2 deletions src/query/src/tests/vec_sum_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ async fn test_vec_sum_aggregator() -> Result<(), common_query::error::Error> {
common_telemetry::init_default_ut_logging();
let engine = function::create_query_engine_for_vector10x3();
let sql = "select VEC_SUM(vector) as vec_sum from vectors";
let result = exec_selection(engine.clone(), &sql).await;
let result = exec_selection(engine.clone(), sql).await;
let value = function::get_value_from_batches("vec_sum", result);

let mut expected_value = None;

let sql = "SELECT vector FROM vectors";
let vectors = exec_selection(engine, &sql).await;
let vectors = exec_selection(engine, sql).await;

let column = vectors[0].column(0);
let vector_const = as_veclit_if_const(column)?;
Expand Down

0 comments on commit c2b9939

Please sign in to comment.