ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Lapin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-11197) SQL:Ability to resolve partiton for temporal data types.
Date Mon, 04 Feb 2019 15:07:00 GMT
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)

Mime
View raw message