This is an automated email from the ASF dual-hosted git repository.
blerer pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git
The following commit(s) were added to refs/heads/trunk by this push:
new 049b1c0 Take into account new contatenation support through the +
operator
049b1c0 is described below
commit 049b1c06aa35d6b10a0b3bab1a21d8c40a8ae4c0
Author: Manish Ghildiyal <[email protected]>
AuthorDate: Sat Jan 15 10:23:58 2022 +0100
Take into account new contatenation support through the + operator
Patch by Manish Ghildiyal; Review by Benjamin Lerer for CASSANDRA-17190
---
user_functions_test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/user_functions_test.py b/user_functions_test.py
index 4102352..24b2b1a 100644
--- a/user_functions_test.py
+++ b/user_functions_test.py
@@ -147,7 +147,7 @@ class TestUserFunctions(Tester):
session.execute("CREATE OR REPLACE FUNCTION overloaded(v ascii) called
on null input RETURNS text LANGUAGE java AS 'return \"f1\";'")
# ensure that works with correct specificity
- assert_invalid(session, "SELECT v FROM tab WHERE k =
overloaded('foo')")
+ assert_none(session, "SELECT v FROM tab WHERE k = overloaded('foo')")
assert_none(session, "SELECT v FROM tab WHERE k = overloaded((text)
'foo')")
assert_none(session, "SELECT v FROM tab WHERE k = overloaded((ascii)
'foo')")
assert_none(session, "SELECT v FROM tab WHERE k = overloaded((varchar)
'foo')")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]