test: Add more json value expression tests (#41137)

Signed-off-by: binbin lv <binbin.lv@zilliz.com>
This commit is contained in:
binbin 2025-04-09 17:18:26 +08:00 committed by GitHub
parent bec729ae11
commit 13f31af35a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2439,7 +2439,8 @@ def gen_json_field_expressions_all_single_operator():
"array_contains_all(json_field['a'], [1.0, 2])", "ARRAY_CONTAINS_ALL(json_field['a'], [1.0, 2])",
"array_contains_any(json_field['a'], [1.0, 2])", "ARRAY_CONTAINS_ANY(json_field['a'], [1.0, 2])",
"array_length(json_field['a']) < 10", "ARRAY_LENGTH(json_field['a']) < 10",
"json_field is null", "json_field IS NULL", "json_field is not null", "json_field IS NOT NULL"
"json_field is null", "json_field IS NULL", "json_field is not null", "json_field IS NOT NULL",
"json_field['a'] is null", "json_field['a'] IS NULL", "json_field['a'] is not null", "json_field['a'] IS NOT NULL"
]
return expressions