From 0fa13465226c7898f0adee19a5e46bfe5ac4538e Mon Sep 17 00:00:00 2001 From: xxchan Date: Wed, 31 Jul 2024 23:34:33 +0800 Subject: [PATCH] fix Signed-off-by: xxchan --- src/expr/impl/src/window_function/buffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expr/impl/src/window_function/buffer.rs b/src/expr/impl/src/window_function/buffer.rs index bd1c10d162b23..57217dda6fd4b 100644 --- a/src/expr/impl/src/window_function/buffer.rs +++ b/src/expr/impl/src/window_function/buffer.rs @@ -970,7 +970,7 @@ mod tests { let key = |key: i64| -> StateKey { StateKey { - order_key: memcmp_encoding::encode_value(&Some(ScalarImpl::from(key)), order_type) + order_key: memcmp_encoding::encode_value(Some(ScalarImpl::from(key)), order_type) .unwrap(), pk: OwnedRow::empty().into(), }