Alexander Lapin created IGNITE-11197:
----------------------------------------

             Summary: 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


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.



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

Reply via email to