[
https://issues.jboss.org/browse/TEIIDDES-1258?page=com.atlassian.jira.plu...
]
Steven Hawkins commented on TEIIDDES-1258:
------------------------------------------
0 is a valid yet unlikely value - thus much like other properties that is a poor choice of
a default. As Ramesh is saying we do not enforce our metadata length constraints at
runtime. length is currently only reported through the system table (where it will say
length 0) and through JDBC metadata (we we reinterpret 0 as the default max of 4000).
It would simplify things greatly if the properties framework supported the concept of a
null value so we weren't forced to embed a default value.
Confusing message when modeling a String data type that doesn't
have the length specified
-----------------------------------------------------------------------------------------
Key: TEIIDDES-1258
URL:
https://issues.jboss.org/browse/TEIIDDES-1258
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Reporter: Van Halbert
Assignee: Paul Richardson
Fix For: 7.7.1
When modeling a column defined as a String, but no length has been set, you get the
warning message:
"Missing or invalid Length on column with a string/character datatype (See
validation Preferences)"
This is confusing for several reasons:
- If its a warning, then the value must not be invalid
- It would be good to indicate what the default length will be when the length isn't
set
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira