Skip to content

Commit 5b441bc

Browse files
committed
py: add illegal argument tests for comparison operators
Signed-off-by: rivudhk <rivudhkr@gmail.com>
1 parent 93766e2 commit 5b441bc

File tree

4 files changed

+1038
-1
lines changed

4 files changed

+1038
-1
lines changed

python/tests/runtime_aggtest/illarg_tests/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from test_str_bin_type_fn import * # noqa: F403
99
from test_str_unicode_fn import * # noqa: F403
1010
from test_check_negative_tests import * # noqa: F403
11+
from test_cmp_operators import * # noqa: F403
1112
from test_illegal_tbl import * # noqa: F403
1213

1314

python/tests/runtime_aggtest/illarg_tests/test_arr_map_type_fn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def __init__(self):
518518
class illarg_arr_repeat_dtype_legal(TstView):
519519
def __init__(self):
520520
# checked manually
521-
self.data = [{"str": ["0.12", "0.12"]}, {"str": ["hello ", "hello "]}]
521+
self.data = [{"str": ["0.12", "0.12"]}, {"str": ["hello ", "hello "]}, {'str': [None, None]}]
522522
self.sql = """CREATE MATERIALIZED VIEW arr_repeat_dtype_legal AS SELECT
523523
ARRAY_REPEAT(str, 2) AS str
524524
FROM illegal_tbl"""

0 commit comments

Comments
 (0)