You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maksim Zhuravkov (Jira)" <ji...@apache.org> on 2023/03/21 06:41:00 UTC

[jira] [Assigned] (IGNITE-18799) Sql. Custom types. Implement a basic set of test cases for a custom data type.

     [ https://issues.apache.org/jira/browse/IGNITE-18799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maksim Zhuravkov reassigned IGNITE-18799:
-----------------------------------------

    Assignee: Maksim Zhuravkov

> 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
>            Assignee: Maksim Zhuravkov
>            Priority: Minor
>              Labels: calcite2-required, calcite3-required, ignite-3
>
> 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.
> *Ddl*
> * CREATE TABLE (as non-primary key column)
> * CREATE TABLE (as a primary key, if supported)
> *Dml*
> * INSERT
> * UPDATE 
> *Queries*
> * SELECT
> * (WHERE clause)
> * ?
> *Expressions*
> * Binary comparison operators
> * IN expression
> * CASE expression
> * CASTS (if supported)
> * BETWEEN expression
> * COALESCE
> * ?
> *Aggregate functions*
> * Min/Max
> * Some, Every
> * Other 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)