From bd105f72336a195928666443c764021e53606f98 Mon Sep 17 00:00:00 2001 From: "zeli.lwb" Date: Thu, 18 Jan 2024 15:46:49 +0800 Subject: [PATCH] [Chore] modify error message --- src/client/filter.rs | 4 +--- src/client/table.rs | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/client/filter.rs b/src/client/filter.rs index 35508ab..951414d 100644 --- a/src/client/filter.rs +++ b/src/client/filter.rs @@ -214,7 +214,7 @@ mod test { use super::*; #[test] - fn test_value_filter_micro() { + fn test_value_filter() { let op = ObCompareOperator::Equal; let column_name = "column"; let string_column_name = "string_column"; @@ -299,8 +299,6 @@ mod test { "4", ))]); - println!("{:?}", filter_list_0.encode()); - println!("{:?}", filter_list_1.encode()); assert_eq!( "TableCompareFilter(=,'column:0') && TableCompareFilter(>,'column:1')", filter_list_0.encode() diff --git a/src/client/table.rs b/src/client/table.rs index bbff9c3..8d5d9bf 100644 --- a/src/client/table.rs +++ b/src/client/table.rs @@ -79,7 +79,7 @@ impl ObTable { if batch_op.ops_len() != batch_op.get_filters().len() { return Err(CommonErr( CommonErrCode::InvalidParam, - "All operation should have filters or not".to_owned(), + "All operation should have filters or not (checkAndDo() can not do with other operation in batch now)".to_owned(), )); }