Skip to content

Commit

Permalink
[Chore] modify error message
Browse files Browse the repository at this point in the history
  • Loading branch information
IHEII committed Jan 18, 2024
1 parent 43979a5 commit bd105f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/client/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/client/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
));
}

Expand Down

0 comments on commit bd105f7

Please sign in to comment.