[ 
https://issues.apache.org/jira/browse/IGNITE-11726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16818810#comment-16818810
 ] 

Taras Ledkov commented on IGNITE-11726:
---------------------------------------

[~amashenkov], [~jooger], [~Pavlukhin] please review the patch.

> SQL: must not 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
>            Priority: Major
>             Fix For: 2.8
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to