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

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

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

Anton Vinogradov (Jira)
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)