]
Barry LaFond resolved TEIIDDES-2954.
------------------------------------
Resolution: Out of Date
Dynamic VDB doesn't contains apostrophe around procedure
--------------------------------------------------------
Key: TEIIDDES-2954
URL:
https://issues.jboss.org/browse/TEIIDDES-2954
Project: Teiid Designer
Issue Type: Bug
Components: Dynamic VDBs
Affects Versions: 10.0.2
Environment: Fedora 24
Reporter: Matej Kralik
Priority: Major
Attachments: completeJDGproject2.zip
I have a project with JDG materialization. I have set
After load script to: execute BookCacheSource.native('swap cache names');
and
Before load script to: execute BookCacheSource.native('truncate cache');
When I generated Dynamic VDB and I want to deploy it, server shows me error that:
{code:java}
org.teiid.api.exception.query.QueryParserException: TEIID31100 Parsing error: Encountered
", \"teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT\" 'execute
BookCacheSource.native('[*]swap[*] cache names" at line 10, column 188.
Was expecting: "," | ")"
{code}
When I added another apostrophe to procedures in the DDL,
execute BookCacheSource.native(''truncate cache'');
execute BookCacheSource.native(''swap cache names'');
deploy was successful.
I think that DDL parser should add it automatically.