Yury Gerzhedovich created IGNITE-20728:
------------------------------------------

             Summary: Sql. improve test coverage for UUID data type
                 Key: IGNITE-20728
                 URL: https://issues.apache.org/jira/browse/IGNITE-20728
             Project: Ignite
          Issue Type: Improvement
          Components: sql
            Reporter: Yury Gerzhedovich


AI3 have not enough test coverege for UUID data type.

Let's add at least the following:
1. on basic expression for NOT BETWEEN (as an example need to take 
org.apache.ignite.internal.sql.engine.datatypes.tests.BaseExpressionDataTypeTest#testBetweenWithDynamicParameters
 / testBetweenWithLiterals )
2. Arithmetic operators, string concatenation operators, and other operators or 
functions that are not defined on values of UUID data type, should not be 
permitted. 
3. We have tests for aggregation functions *count, min, max, any_value, some, 
GROUP BY, HAVING*. Other aggregate functions should not be permitted for UUID
4. Drop an index, check that data is accessible via scan.
5. Set operations between UUID data type and character types are not legal, 
because set operations are allowed only between compatible types. (e.g. 
expected error for *SELECT 'aaaaa' UNION SELECT '1111-1111-1111-1111'::UUID* )



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to