You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Max Shonichev (Jira)" <ji...@apache.org> on 2019/11/27 22:28:00 UTC

[jira] [Commented] (IGNITE-9539) Add SQL column precision existence check if scale parameter is setted

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

Max Shonichev commented on IGNITE-9539:
---------------------------------------

According to [http://www.h2database.com/html/datatypes.html#decimal_type]   {{DECIMAL(precisionInt)}} is both valid as is {{DECIMAL(precisionInt,scale)}}

> Add SQL column precision existence check if scale parameter is setted
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-9539
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9539
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: PetrovMikhail
>            Priority: Major
>              Labels: sql-engine
>
> We should handle situation when user sets only scale without precision in decimal column constraints. According to [http://www.h2database.com/html/datatypes.html#decimal_type] it's not valid behavior.
> Currently, we ignore it.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)