Andrey Mashenkov created IGNITE-19938:
-----------------------------------------

             Summary: Add validation for columns parameters in Catalog.
                 Key: IGNITE-19938
                 URL: https://issues.apache.org/jira/browse/IGNITE-19938
             Project: Ignite
          Issue Type: Improvement
          Components: sql
            Reporter: Andrey Mashenkov


Now ColumnParams builder is not restrictive at all, and allows to create 
columns with invalid parameters. 
E.g. some types requires precision and/or scale, while this make no sense for 
the others.

Let's add parameters validation to builder and check precision/scale/length are 
valid values, keeping in mind SQL standard and a we may need different 
validation strategy for CREATE and ALTER commands.





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to