You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2017/08/14 14:13:00 UTC

[jira] [Created] (IGNITE-6055) SQL: Add String length constraint

Vladimir Ozerov created IGNITE-6055:
---------------------------------------

             Summary: SQL: Add String length constraint
                 Key: IGNITE-6055
                 URL: https://issues.apache.org/jira/browse/IGNITE-6055
             Project: Ignite
          Issue Type: Bug
          Components: sql
    Affects Versions: 2.1
            Reporter: Vladimir Ozerov
             Fix For: 2.2


We should support {{CHAR(X)}} and {{VARCHAR{X}} syntax. Currently, we ignore it. First, it affects semantics. E.g., one can insert a string with greater length into a cache/table without any problems. Second, it limits efficiency of our default configuration. E.g., index inline cannot be applied to {{String}} data type as we cannot guess it's length.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)