update case test_query_expr_all_datatype_json_contains_all (#26625)

Signed-off-by: nico <cheng.yuan@zilliz.com>
This commit is contained in:
nico 2023-08-28 19:02:27 +08:00 committed by GitHub
parent dd4bc5b6a0
commit ffdb1b7984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -703,7 +703,7 @@ class TestQueryParams(TestcaseBase):
assert len(res) == 1 assert len(res) == 1
# test for mixed data # test for mixed data
ids = [_id * 1.1, bool(_id % 2)] ids = [[_id, str(_id)], bool(_id % 2)]
expression = f"{expr_prefix}({json_field}['listMix'], {ids})" expression = f"{expr_prefix}({json_field}['listMix'], {ids})"
res = collection_w.query(expression)[0] res = collection_w.query(expression)[0]
assert len(res) == 1 assert len(res) == 1