[jira] [Created] (IGNITE-11726) SQL: don't store default precision and scale in the QueryEntity for CHAR/VARCHAR and DECIMAL types

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-11726) SQL: don't store default precision and scale in the QueryEntity for CHAR/VARCHAR and DECIMAL types

Anton Vinogradov (Jira)
Taras Ledkov created IGNITE-11726:
-------------------------------------

             Summary: SQL: don't store default precision and scale in the QueryEntity for CHAR/VARCHAR and DECIMAL types
                 Key: IGNITE-11726
                 URL: https://issues.apache.org/jira/browse/IGNITE-11726
             Project: Ignite
          Issue Type: Improvement
          Components: sql
    Affects Versions: 2.7
            Reporter: Taras Ledkov
            Assignee: Taras Ledkov
             Fix For: 2.8


If table is created by SQL query, e.g.:
{{CREATE TABLE test (id INT, val_dec DECIMAL, val_char VARCHAR)}}
and CHAR/VARCHAR  and DECIMAL types are used with default precision (size for char/varchar) and scale the default precision and scale mustn't be passed into {{QueryEntity}} for created cache.

This is cause of compatibility problems.




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