Maksim Zhuravkov created IGNITE-18799:
-----------------------------------------

             Summary: Sql. Custom types. Implement a basic set of test cases 
for a custom data type.
                 Key: IGNITE-18799
                 URL: https://issues.apache.org/jira/browse/IGNITE-18799
             Project: Ignite
          Issue Type: Improvement
          Components: sql
    Affects Versions: 3.0.0-beta2
            Reporter: Maksim Zhuravkov


To simplify the process of adding a new custom data type it would be a good 
idea to have a basic set of test cases that automates (at least partially) the 
process of writing tests for a new custom data type.

* CREATE TABLE (as non primary key column)
* CREATE TABLE (as a primary key, if supported)
* INSERT
* UPDATE 
* SELECT
* (WHERE clause)
* ?

Expressions:
* IN expression
* CASE expression
* CASTS (if supported)
* Binary comparison operators
* Aggregate functions (if supported)
* ?

Other: 
* Dynamic Parameters 
* ?

If a custom data type supports implicit casts from some type the above checks 
for <custom_type> v <another type> must be also provided.



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

Reply via email to