diff --git a/cesql/cesql_tck/binary_math_operators.yaml b/cesql/cesql_tck/binary_math_operators.yaml index 86c4826e..d1d0417e 100644 --- a/cesql/cesql_tck/binary_math_operators.yaml +++ b/cesql/cesql_tck/binary_math_operators.yaml @@ -58,11 +58,6 @@ tests: - name: Implicit casting, with both values string expression: "'5' + '3'" result: 8 - - name: Implicit casting, with invalid boolean value + - name: Implicit casting, with boolean value expression: "5 + TRUE" - result: 5 - error: cast - - name: Implicit casting, with invalid string value - expression: "'5avc4' + 10" - result: 10 - error: cast + result: 6 diff --git a/cesql/cesql_tck/casting_functions.yaml b/cesql/cesql_tck/casting_functions.yaml index 9b393c17..59349b89 100644 --- a/cesql/cesql_tck/casting_functions.yaml +++ b/cesql/cesql_tck/casting_functions.yaml @@ -67,34 +67,3 @@ tests: - name: Cast identity "abc" expression: STRING("abc") result: "abc" - - - name: "'true' is a boolean" - expression: IS_BOOL('true') - result: true - - name: "'FALSE' is a boolean" - expression: IS_BOOL('FALSE') - result: true - - name: 1 is not a boolean - expression: IS_BOOL(1) - result: false - - name: "'abc' is not a boolean" - expression: IS_BOOL('abc') - result: false - - - name: "'-1' is an int" - expression: IS_INT('-1') - result: true - - name: "'1' is an int" - expression: IS_INT('1') - result: true - - name: true is not an int - expression: IS_INT(TRUE) - result: false - - name: "'abc' is not an int" - expression: IS_INT('abc') - result: false - - - name: IS_STRING does not exists - expression: IS_STRING('ABC') - error: missingFunction - result: false diff --git a/cesql/cesql_tck/subscriptions_api_recreations.yaml b/cesql/cesql_tck/subscriptions_api_recreations.yaml index 263f9e7b..d513e67c 100644 --- a/cesql/cesql_tck/subscriptions_api_recreations.yaml +++ b/cesql/cesql_tck/subscriptions_api_recreations.yaml @@ -18,6 +18,7 @@ tests: - name: Prefix filter on missing string extension expression: "myext LIKE 'custom%'" result: false + error: missingAttribute - name: Suffix filter (1) expression: "type like '%.error'" @@ -37,6 +38,7 @@ tests: - name: Suffix filter on missing string extension expression: "myext LIKE '%ext'" result: false + error: missingAttribute - name: Exact filter (1) expression: "id = 'myId'" @@ -56,6 +58,7 @@ tests: - name: Exact filter on missing string extension expression: "myext = 'customext'" result: false + error: missingAttribute - name: Prefix filter AND Suffix filter (1) expression: "id LIKE 'my%' AND source LIKE '%.ca'" @@ -80,6 +83,7 @@ tests: result: false eventOverrides: type: "example.event.type" + error: missingAttribute - name: Prefix OR Suffix filter (1) expression: "id LIKE 'my%' OR source LIKE '%.ca'" @@ -162,6 +166,7 @@ tests: id: "myId" type: "example.event.warning" source: "http://localhost.localdomain" + error: missingAttribute