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/02/22 08:42:00 UTC
[jira] [Updated] (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 updated IGNITE-18799:
--------------------------------------
Description:
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
* IFNULL expression
* CASTS (if supported)
* Binary comparison operators
* BETWEEN
* ?
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.
was:
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.
> 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
> 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.
> * 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
> * IFNULL expression
> * CASTS (if supported)
> * Binary comparison operators
> * BETWEEN
> * ?
> 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)