You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexander Lapin (JIRA)" <ji...@apache.org> on 2019/02/04 15:07:00 UTC

[jira] [Updated] (IGNITE-11197) SQL:Ability to resolve partiton for temporal data types.

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

Alexander Lapin updated IGNITE-11197:
-------------------------------------
    Description: 
Within org.apache.ignite.internal.sql.optimizer.affinity.PartitionUtils#convert it's now possible to convert following data types:
* BOOLEAN,
* BYTE,
* SHORT,
* INT,
* LONG,
* FLOAT,
* DOUBLE,
* STRING,
* DECIMAL,
* UUID;

Following temporal data types should also be supported: 
* DATE,
* TIME,
* TIMESTAMP
The most critical part here is that convertation result should be exactly the same as within H2 convertation result (see org.apache.ignite.internal.processors.query.h2.H2Utils#convert), in other case partitions might be  resolved incorrectly.

  was:
Within org.apache.ignite.internal.sql.optimizer.affinity.PartitionUtils#convert it's now possible to convert following data types:
* BOOLEAN,
* BYTE,
* SHORT,
* INT,
* LONG,
* FLOAT,
* DOUBLE,
* STRING,
* DECIMAL,
* UUID;

Following temporal data types should also be supported: 
* DATE,
* TIME,
* TIMESTAMP
The most critical part here is that convertation result should be exactly the same as H2 convertation result (see org.apache.ignite.internal.processors.query.h2.H2Utils#convert), in other case partitions might be  resolved incorrectly.


> SQL:Ability to resolve partiton for temporal data types.
> --------------------------------------------------------
>
>                 Key: IGNITE-11197
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11197
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Alexander Lapin
>            Priority: Minor
>
> Within org.apache.ignite.internal.sql.optimizer.affinity.PartitionUtils#convert it's now possible to convert following data types:
> * BOOLEAN,
> * BYTE,
> * SHORT,
> * INT,
> * LONG,
> * FLOAT,
> * DOUBLE,
> * STRING,
> * DECIMAL,
> * UUID;
> Following temporal data types should also be supported: 
> * DATE,
> * TIME,
> * TIMESTAMP
> The most critical part here is that convertation result should be exactly the same as within H2 convertation result (see org.apache.ignite.internal.processors.query.h2.H2Utils#convert), in other case partitions might be  resolved incorrectly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)