[
https://issues.jboss.org/browse/TEIIDDES-2888?page=com.atlassian.jira.plu...
]
Barry LaFond commented on TEIIDDES-2888:
----------------------------------------
[~mmakovy] [~shawkins] I need a little more info to decide how to proceed.
* Designer currently adds the default value *('Stock')* directly to the index
file.
** Will the standard Archive VDB query correctly with this metadata? [~mmakovy]
** If so, is default value in the index file changed by the Teiid runtime to escape the
single quotes? [~shawkins]
* I've verified I can add logic to escape internal single quotes so the exported dyn.
VDB's DDL contains *(\'Stock\')*
** Unfortunately, when Designer imports this value via teiid-modeshape (Teiid DDL), the
parser removes the paren's and ends up with *\'Stock\'*
** So this may need a teiid-modeshape issue logged?
Default value is not correctly parsed
--------------------------------------
Key: TEIIDDES-2888
URL:
https://issues.jboss.org/browse/TEIIDDES-2888
Project: Teiid Designer
Issue Type: Bug
Components: Data Preview, Dynamic VDBs
Affects Versions: 10.0.1
Environment: Fedora 24
Reporter: Matej Kralik
Assignee: Barry LaFond
Fix For: 11.1
Attachments: ProductProject.zip, screenshot1.png, screenshot2.png
When I want preview data from my table (productdata in the project which is in the
attachment), server shows me this error:
TEIID31100 Parsing error: Encountered ") DEFAULT '('[*]Stock[*]')'
OPTIONS"
In one column I have default value ('Stock') (screenshot1)
I am not sure whether it is the correct form of default value or not but in the old
version of teiid designer preview this table works fine. I think that ddl parser is not
able to parse this. (screenshot2)
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)